aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-10 14:15:55 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-10 21:16:29 +0000
commitd13b8ea13cf708a7770e7f51912ce16d0b43e459 (patch)
tree3b3b37e9020e802b8bc607ff322996fc650f6884 /acinclude.m4
parent537eddbc407d891430d9f4a2d462c6c3c0753307 (diff)
Get rid of HAVE_REMOTE.
We never test for it - we test for HAVE_PCAP_REMOTE - so there's no need to set it in config.h. While we're at it, note that "PCAP" in "HAVE_PCAP_REMOTE" can refer to libpcap as well as WinPcap, given that, at least in the tip of the master branch, you can configure remote support in libpcap, although it's not enabled by default (it needs to be vetted for security, as it increases the attack surface of a machine running the server *and* of an application using libpcap with remote support). Change-Id: I3c96cf16bbda19ec7c085f74cffc6f125198d45b Reviewed-on: https://code.wireshark.org/review/21589 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 11c657fd87..fcbbab8327 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -423,12 +423,10 @@ AC_DEFUN([AC_WIRESHARK_PCAP_REMOTE_CHECK],
[
ac_save_LIBS="$LIBS"
LIBS="$PCAP_LIBS $LIBS"
- AC_DEFINE(HAVE_REMOTE, 1, [Define to 1 to enable remote
- capturing feature in WinPcap library])
AC_CHECK_FUNCS(pcap_open)
if test $ac_cv_func_pcap_open = "yes" ; then
AC_DEFINE(HAVE_PCAP_REMOTE, 1,
- [Define to 1 if you have WinPcap remote capturing support and prefer to use these new API features.])
+ [Define to 1 if you have libpcap/WinPcap remote capturing support and prefer to use these new API features.])
fi
AC_CHECK_FUNCS(pcap_setsampling)
LIBS="$ac_save_LIBS"