summaryrefslogtreecommitdiff
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2018-07-12 22:01:43 +0200
committerDenis Ovsienko <denis@ovsienko.info>2018-07-19 07:15:11 +0100
commit152acc2ece46a796779503d103ff6a0deb90cbc1 (patch)
tree0a1b796d95feb05085c8a1e6187e8a023cfa3fd2 /cmakeconfig.h.in
parenteb962af8e8e1cfe25f9294f1d80807aa311b73c8 (diff)
downloadtcpdump-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 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index a29fc638..9e2c0268 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -78,6 +78,9 @@
/* Define to 1 if you have the <netdnet/dn.h> header file. */
#cmakedefine HAVE_NETDNET_DN_H 1
+/* Define to 1 if you have the <net/if.h> header file. */
+#cmakedefine HAVE_NET_IF_H 1
+
/* Define to 1 if you have the <net/if_pflog.h> header file. */
#cmakedefine HAVE_NET_IF_PFLOG_H 1