diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 12:51:01 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 22:10:04 +0200 |
commit | 8cda025aed3073427241b9ebfecc55c956ab05f1 (patch) | |
tree | 517a0ac483add661085bc4563cee72591d81b362 /print.c | |
parent | 770b67da7640cb64fa54fb615084d3c369270368 (diff) | |
download | tcpdump-8cda025aed3073427241b9ebfecc55c956ab05f1.tar.gz |
SLL: Update the link-layer dissectors to void functions
Moreover:
Fix two probably copy & paste errors (s/SLL_HDR_LEN/SLL2_HDR_LEN/).
Remove trailing "_if" from the protocol name.
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -69,12 +69,6 @@ static const struct uint_printer uint_printers[] = { { pflog_if_print, DLT_PFLOG }, #endif { token_if_print, DLT_IEEE802 }, -#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 @@ -240,6 +234,12 @@ static const struct void_printer void_printers[] = { { sl_bsdos_if_print, DLT_SLIP_BSDOS }, #endif { sl_if_print, DLT_SLIP }, +#ifdef DLT_LINUX_SLL + { sll_if_print, DLT_LINUX_SLL }, +#endif +#ifdef DLT_LINUX_SLL2 + { sll2_if_print, DLT_LINUX_SLL2 }, +#endif #ifdef DLT_SUNATM { sunatm_if_print, DLT_SUNATM }, #endif |