From c3f8e04764b5f9dcb424722aaeee9598e705faed Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Fri, 7 Feb 2020 20:31:51 +0100 Subject: ENC: Update the link-layer dissector to a void function Moreover: Remove trailing "_if" from protocol name. Remove a no longer used 'out' label. --- print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'print.c') diff --git a/print.c b/print.c index a4bc1ec2..8543a8b3 100644 --- a/print.c +++ b/print.c @@ -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 }, @@ -231,6 +228,9 @@ static const struct void_printer void_printers[] = { #endif #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 -- cgit v1.2.1