diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-03-19 11:01:04 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-03-19 18:01:43 +0000 |
commit | 0fdbaa4f1855594e7a48bc3b1ff9e31e835cb860 (patch) | |
tree | b2a0fd7210fa28be63e8cd91baba26d60debabd8 /ui | |
parent | c87cf1a81a280cc285a4a63bd989f04a6c7adb54 (diff) |
Make GTK compile with HAVE_PCAP_REMOTE on macOS with clang-800.0.42.1.
Change-Id: I36bf1e39541fc55bc315f12f56dfd7ed7e0cc207
Reviewed-on: https://code.wireshark.org/review/20632
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/capture_dlg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index 6f72081fc7..f03a7f31f6 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -1076,6 +1076,7 @@ struct iftype_info { const char *name; }; +#if 0 /* List of available types of PCAP interface */ static struct iftype_info iftype[] = { { CAPTURE_IFLOCAL, "Local" }, @@ -1083,6 +1084,9 @@ static struct iftype_info iftype[] = { }; #define REMOTE_HOST_START ((sizeof(iftype) / sizeof(iftype[0])) + 1) +#else +#define REMOTE_HOST_START 3 +#endif #define REMOTE_HOST_SEPARATOR "---" static void |