#include "capture_ifinfo.h"
#include "capture-pcap-util.h"
#include "capture-pcap-util-int.h"
-#include "capture_win_ifnames.h"
#include "capture-wpcap.h"
#include <wsutil/file_util.h>
gboolean optional;
} symbol_table_t;
-#define SYM(x, y) { STRINGIFY(x) , (gpointer) &CONCAT(p_,x), y }
+#define SYM(x, y) { G_STRINGIFY(x) , (gpointer) &CONCAT(p_,x), y }
void
load_wpcap(void)
char ascii_desc[MAX_WIN_IF_NAME_LEN + 1];
int i, j;
char errbuf[PCAP_ERRBUF_SIZE];
- char *friendly_name;
if (!has_wpcap) {
/*
}
ascii_name[j] = '\0';
i++;
- get_windows_interface_friendlyname(ascii_name, &friendly_name);
il = g_list_append(il,
- if_info_new(ascii_name, friendly_name, ascii_desc, FALSE));
- g_free(friendly_name);
+ if_info_new(ascii_name, ascii_desc, FALSE));
}
} else {
/*
* interface name, and "desc" points to
* that interface's description.
*/
- get_windows_interface_friendlyname(&win95names[i], &friendly_name);
il = g_list_append(il,
- if_info_new(&win95names[i], friendly_name, desc, FALSE));
- g_free(friendly_name);
+ if_info_new(&win95names[i], desc, FALSE));
/*
* Skip to the next description.
void
get_compiled_pcap_version(GString *str)
{
- g_string_append(str, "with WinPcap (" STRINGIFY(PCAP_VERSION) ")");
+ g_string_append(str, "with WinPcap (" G_STRINGIFY(PCAP_VERSION) ")");
}
/*