]> The Tcpdump Group git mirrors - tcpdump/commitdiff
We no longer need pcap/nflog.h nor pcap/bluetooth.h.
authorGuy Harris <[email protected]>
Thu, 24 May 2018 21:13:22 +0000 (14:13 -0700)
committerGuy Harris <[email protected]>
Thu, 24 May 2018 21:13:22 +0000 (14:13 -0700)
print.c

diff --git a/print.c b/print.c
index 92c1977bc23b925f196b4ac3c48ed8db63628b95..b9c92adc2eea0f81362a0521b45860d04e2a74d1 100644 (file)
--- a/print.c
+++ b/print.c
@@ -64,7 +64,7 @@ static const struct printer printers[] = {
 #ifdef DLT_NETANALYZER_TRANSPARENT
        { netanalyzer_transparent_if_print, DLT_NETANALYZER_TRANSPARENT },
 #endif
-#if defined(DLT_NFLOG) && defined(HAVE_PCAP_NFLOG_H)
+#ifdef DLT_NFLOG
        { nflog_if_print,       DLT_NFLOG},
 #endif
 #ifdef DLT_CIP
@@ -83,7 +83,7 @@ static const struct printer printers[] = {
 #ifdef DLT_APPLE_IP_OVER_IEEE1394
        { ap1394_if_print,      DLT_APPLE_IP_OVER_IEEE1394 },
 #endif
-#if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H)
+#ifdef DLT_BLUETOOTH_HCI_H4_WITH_PHDR
        { bt_if_print,          DLT_BLUETOOTH_HCI_H4_WITH_PHDR},
 #endif
 #ifdef DLT_LANE8023