From 68d4ba212c839631c639974b36fc283a9e90bc5e Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Tue, 23 Feb 2016 14:33:54 +0100 Subject: extcap: add local_interfaces_to_list() to wsutil. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This new function abstracts the creation of a list of the local interfaces that will be used by future extcaps to generate specific filters. Sshdump now uses it to create a pcap filter. Change-Id: I5b75a266f81104b3c9bcb3e51de246b7cc8785ce Reviewed-on: https://code.wireshark.org/review/14092 Reviewed-by: João Valverde Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c917542472..c85651913c 100644 --- a/configure.ac +++ b/configure.ac @@ -2647,6 +2647,7 @@ AC_CHECK_HEADERS(fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h unistd.h) AC_CHECK_HEADERS(sys/ioctl.h sys/param.h sys/socket.h sys/sockio.h sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h) AC_CHECK_HEADERS(netinet/in.h) AC_CHECK_HEADERS(arpa/inet.h arpa/nameser.h) +AC_CHECK_HEADERS(ifaddrs.h) # # On Linux, check for some additional headers, which we need as a @@ -2998,6 +2999,7 @@ AC_SUBST(POPCOUNT_LO) AC_CHECK_FUNCS(getprotobynumber) AC_CHECK_FUNCS(issetugid) AC_CHECK_FUNCS(sysconf) +AC_CHECK_FUNCS(getifaddrs) dnl blank for now, but will be used in future AC_SUBST(wireshark_SUBDIRS) -- cgit v1.2.3