diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-02-07 20:31:51 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-02-07 20:36:41 +0100 |
commit | c3f8e04764b5f9dcb424722aaeee9598e705faed (patch) | |
tree | 28868d1e028f59f86ba7bffdd0fa1ba57856159b /print.c | |
parent | 717095ab66fd1930248b6a3069ed275281214898 (diff) | |
download | tcpdump-c3f8e04764b5f9dcb424722aaeee9598e705faed.tar.gz |
ENC: Update the link-layer dissector to a void function
Moreover:
Remove trailing "_if" from protocol name.
Remove a no longer used 'out' label.
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,9 +127,6 @@ static const struct uint_printer uint_printers[] = { { mfr_if_print, DLT_MFR }, #endif { atm_if_print, DLT_ATM_RFC1483 }, -#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 }, @@ -232,6 +229,9 @@ static const struct void_printer void_printers[] = { #ifdef DLT_BLUETOOTH_HCI_H4_WITH_PHDR { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, #endif +#ifdef DLT_ENC + { enc_if_print, DLT_ENC }, +#endif { null_if_print, DLT_NULL }, #ifdef DLT_LOOP { null_if_print, DLT_LOOP }, |