aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/capture-pcap-util-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-03-12 13:16:24 -0700
committerGuy Harris <guy@alum.mit.edu>2020-03-13 00:05:07 +0000
commit0c889d6f5cfdbf008a345fa3292ee468931ab49a (patch)
tree10a858d36541aa0eb6abd767f1251130bfd1bf95 /caputils/capture-pcap-util-int.h
parentf77c677f186cae1e687767b7766cfdef62c533a1 (diff)
Require at least libpcap 0.8/WinPcap 3.1.
2004 called, they want their libpcap/WinPcap back. RHEL 6 initially shipped with libpcap 1.0; even old Enterprise(TM) versions of OSes ship with something shinier than 0.7.x these days. This lets us get rid of a bunch of #ifdefs and workaround code for missing APIs. Change-Id: I862cb027418b0a0c0f45a26979acea82f93f833b Reviewed-on: https://code.wireshark.org/review/36383 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils/capture-pcap-util-int.h')
-rw-r--r--caputils/capture-pcap-util-int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/caputils/capture-pcap-util-int.h b/caputils/capture-pcap-util-int.h
index 2fcb5e3abe..789f96dfdf 100644
--- a/caputils/capture-pcap-util-int.h
+++ b/caputils/capture-pcap-util-int.h
@@ -14,13 +14,11 @@
extern if_info_t *if_info_new(const char *name, const char *description,
gboolean loopback);
extern void if_info_add_address(if_info_t *if_info, struct sockaddr *addr);
-#ifdef HAVE_PCAP_FINDALLDEVS
#ifdef HAVE_PCAP_REMOTE
extern GList *get_interface_list_findalldevs_ex(const char *source,
struct pcap_rmtauth *auth, int *err, char **err_str);
#endif /* HAVE_PCAP_REMOTE */
extern GList *get_interface_list_findalldevs(int *err, char **err_str);
-#endif /* HAVE_PCAP_FINDALLDEVS */
#ifdef HAVE_PCAP_SET_TSTAMP_PRECISION
/*