aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-14 00:10:15 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-14 00:10:15 +0000
commit0e54136213952f9f947586ea183c11bdaf019f11 (patch)
tree7ac93a4feb6000a35fc68e8d12e738c6a69bdb5c /dumpcap.c
parentdcf49bf092d57197e32862bb0aabe91f2a173fb8 (diff)
downloadwireshark-0e54136213952f9f947586ea183c11bdaf019f11.tar.gz
wireshark-0e54136213952f9f947586ea183c11bdaf019f11.tar.bz2
wireshark-0e54136213952f9f947586ea183c11bdaf019f11.zip
See whether the Leopard x86 buildbot is upset because of the name
if_capabilities_t - it doesn't fail on Snow Leopard, even if I undefine HAVE_PCAP_CREATE, and doesn't fail on the Leopard PPC buildbot, either. svn path=/trunk/; revision=32799
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dumpcap.c b/dumpcap.c
index ef865b97e7..c5af5cc128 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -502,14 +502,14 @@ create_data_link_info(int dlt)
return data_link_info;
}
-static if_capabilities_t *
+static if_caps_t *
get_if_capabilities(const char *devname, gboolean monitor_mode
#ifndef HAVE_PCAP_CREATE
_U_
#endif
, char **err_str)
{
- if_capabilities_t *caps;
+ if_caps_t *caps;
char errbuf[PCAP_ERRBUF_SIZE];
pcap_t *pch;
#ifdef HAVE_PCAP_CREATE
@@ -741,7 +741,7 @@ print_machine_readable_interfaces(GList *if_list)
* you MUST update capture_ifinfo.c:capture_get_if_capabilities() accordingly!
*/
static void
-print_machine_readable_if_capabilities(if_capabilities_t *caps)
+print_machine_readable_if_capabilities(if_caps_t *caps)
{
GList *lt_entry;
data_link_info_t *data_link_info;
@@ -3472,7 +3472,7 @@ main(int argc, char *argv[])
exit_main(0);
} else if (list_link_layer_types) {
/* Get the list of link-layer types for the capture device. */
- if_capabilities_t *caps;
+ if_caps_t *caps;
gchar *err_str;
caps = get_if_capabilities(global_capture_opts.iface,