]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
moved ieee802.15.4 to NDO system
[tcpdump] / tcpdump.c
index c5f4bbeb878553aef3937b95ec0d50a422953336..da88d3837120501d8284ed2b1b446dddcc1ef93a 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -293,9 +293,6 @@ static struct printer printers[] = {
        { usb_linux_64_byte_print, DLT_USB_LINUX_MMAPPED},
 #endif /* DLT_USB_LINUX_MMAPPED */
 #endif /* HAVE_PCAP_USB_H */
-#ifdef DLT_IEEE802_15_4
-       { ieee802_15_4_if_print, DLT_IEEE802_15_4 },
-#endif
 #ifdef DLT_IPV4
        { raw_if_print,         DLT_IPV4 },
 #endif
@@ -308,6 +305,9 @@ static struct printer printers[] = {
 static struct ndo_printer ndo_printers[] = {
 #ifdef DLT_IPNET
        { ipnet_if_print,       DLT_IPNET },
+#endif
+#ifdef DLT_IEEE802_15_4
+       { ieee802_15_4_if_print, DLT_IEEE802_15_4 },
 #endif
        { NULL,                 0 },
 };