summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 20:31:51 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 20:36:41 +0100
commitc3f8e04764b5f9dcb424722aaeee9598e705faed (patch)
tree28868d1e028f59f86ba7bffdd0fa1ba57856159b /print.c
parent717095ab66fd1930248b6a3069ed275281214898 (diff)
downloadtcpdump-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.c6
1 files changed, 3 insertions, 3 deletions
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 },
@@ -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 },