]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print.c
Fix spaces
[tcpdump] / print.c
diff --git a/print.c b/print.c
index 92c1977bc23b925f196b4ac3c48ed8db63628b95..7460b777035e5efe79111f9e2234c1621622e9fb 100644 (file)
--- a/print.c
+++ b/print.c
@@ -39,6 +39,8 @@
 #include "print.h"
 #include "netdissect-alloc.h"
 
+#include "pcap-missing.h"
+
 struct printer {
        if_printer f;
        int type;
@@ -64,7 +66,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 +85,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
@@ -126,6 +128,9 @@ static const struct printer printers[] = {
 #ifdef DLT_LINUX_SLL
        { sll_if_print,         DLT_LINUX_SLL },
 #endif
+#ifdef DLT_LINUX_SLL2
+       { sll2_if_print,        DLT_LINUX_SLL2 },
+#endif
 #ifdef DLT_FR
        { fr_if_print,          DLT_FR },
 #endif