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 --- ConfigureChecks.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index f7b2a7bb4a..0cf1ae0131 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -29,6 +29,7 @@ check_include_file("dlfcn.h" HAVE_DLFCN_H) check_include_file("fcntl.h" HAVE_FCNTL_H) check_include_file("getopt.h" HAVE_GETOPT_H) check_include_file("grp.h" HAVE_GRP_H) +check_include_file("ifaddrs.h" HAVE_IFADDRS_H) check_include_file("inttypes.h" HAVE_INTTYPES_H) check_include_file("netinet/in.h" HAVE_NETINET_IN_H) check_include_file("netdb.h" HAVE_NETDB_H) @@ -115,6 +116,7 @@ if(HAVE_GETOPT_LONG) endif() endif() check_function_exists("getprotobynumber" HAVE_GETPROTOBYNUMBER) +check_function_exists("getifaddrs" HAVE_GETIFADDRS) check_function_exists("inet_aton" HAVE_INET_ATON) check_function_exists("inet_ntop" HAVE_INET_NTOP_PROTO) check_function_exists("inet_pton" HAVE_INET_PTON) -- cgit v1.2.1