X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/90692fcf9745a67fff68350b88acd56e4ddcb23b..a3d09832c69a1b261d0e1f1fc61d4b14ddd5f4a4:/tcpdump.c diff --git a/tcpdump.c b/tcpdump.c index 10829ab6..2fc257ac 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -167,10 +167,6 @@ struct ndo_printer { static const struct printer printers[] = { - { sl_if_print, DLT_SLIP }, -#ifdef DLT_SLIP_BSDOS - { sl_bsdos_if_print, DLT_SLIP_BSDOS }, -#endif { ppp_if_print, DLT_PPP }, #ifdef DLT_PPP_WITHDIRECTION { ppp_if_print, DLT_PPP_WITHDIRECTION }, @@ -193,9 +189,6 @@ static const struct printer printers[] = { #ifdef DLT_IEEE802_11_RADIO { ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO }, #endif -#ifdef DLT_ENC - { enc_if_print, DLT_ENC }, -#endif #ifdef DLT_IEEE802_11_RADIO_AVS { ieee802_11_radio_avs_if_print, DLT_IEEE802_11_RADIO_AVS }, #endif @@ -343,6 +336,13 @@ static const struct ndo_printer ndo_printers[] = { { atm_if_print, DLT_ATM_RFC1483 }, #ifdef DLT_SUNATM { sunatm_if_print, DLT_SUNATM }, +#endif +#ifdef DLT_ENC + { enc_if_print, DLT_ENC }, +#endif + { sl_if_print, DLT_SLIP }, +#ifdef DLT_SLIP_BSDOS + { sl_bsdos_if_print, DLT_SLIP_BSDOS }, #endif { NULL, 0 }, };