diff options
author | Petr Vorel <pvorel@suse.cz> | 2018-07-12 22:01:43 +0200 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2018-07-19 07:15:11 +0100 |
commit | 152acc2ece46a796779503d103ff6a0deb90cbc1 (patch) | |
tree | 0a1b796d95feb05085c8a1e6187e8a023cfa3fd2 /configure.ac | |
parent | eb962af8e8e1cfe25f9294f1d80807aa311b73c8 (diff) | |
download | tcpdump-152acc2ece46a796779503d103ff6a0deb90cbc1.tar.gz |
Display interface and index and name on DLT_LINUX_SLL2
Index is displayed always, name only if available.
Warn about possible wrong interfaces when in reading mode
(pcap file can be displayed on a different host then where
was captured) [1].
See: GH the-tcpdump-group/libpcap#127
[1] https://lists.sandelman.ca/pipermail/tcpdump-workers/2018-July/001019.html
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Suggested-by: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Denis Ovsienko <denis@ovsienko.info>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 32f48b60..46f841c0 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_PROG_CC_C99 AC_LBL_C_INIT(V_CCOPT, V_INCLS) AC_LBL_C_INLINE -AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h) +AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h net/if.h) AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h> #include <sys/socket.h> #include <net/if.h>]) |