X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/69e1379bcf1f61b01954cbc289636e2b4339a349..5d6a1edd068e89b14f7525f11f992c46e16cfc2f:/tcpdump.c diff --git a/tcpdump.c b/tcpdump.c index 6e1ce724..9b016f47 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -176,18 +176,6 @@ static const struct printer printers[] = { #endif #ifdef DLT_PPP_SERIAL { ppp_hdlc_if_print, DLT_PPP_SERIAL }, -#endif -#ifdef DLT_IEEE802_11 - { ieee802_11_if_print, DLT_IEEE802_11}, -#endif -#ifdef DLT_PRISM_HEADER - { prism_if_print, DLT_PRISM_HEADER }, -#endif -#ifdef DLT_IEEE802_11_RADIO - { ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO }, -#endif -#ifdef DLT_IEEE802_11_RADIO_AVS - { ieee802_11_radio_avs_if_print, DLT_IEEE802_11_RADIO_AVS }, #endif { NULL, 0 }, }; @@ -346,6 +334,18 @@ static const struct ndo_printer ndo_printers[] = { #endif #ifdef DLT_PKTAP { pktap_if_print, DLT_PKTAP }, +#endif +#ifdef DLT_IEEE802_11_RADIO + { ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO }, +#endif +#ifdef DLT_IEEE802_11 + { ieee802_11_if_print, DLT_IEEE802_11}, +#endif +#ifdef DLT_IEEE802_11_RADIO_AVS + { ieee802_11_radio_avs_if_print, DLT_IEEE802_11_RADIO_AVS }, +#endif +#ifdef DLT_PRISM_HEADER + { prism_if_print, DLT_PRISM_HEADER }, #endif { NULL, 0 }, };