summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 14:40:39 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 20:36:15 +0100
commit337875c269ad1022c763948666eadaf4d9364d20 (patch)
tree41c3040b8c9a1f7f88b236d1abe2d2d40deabe87 /print.c
parent00fa3d1737313658b605f12c88cb6fefbca4a659 (diff)
downloadtcpdump-337875c269ad1022c763948666eadaf4d9364d20.tar.gz
Symantec: Update the link-layer dissector to a void function
Moreover: Remove trailing "_if" from protocol name.
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 4303dce3..d7632488 100644
--- a/print.c
+++ b/print.c
@@ -114,9 +114,6 @@ static const struct uint_printer uint_printers[] = {
#ifdef DLT_USB_LINUX_MMAPPED
{ usb_linux_64_byte_if_print, DLT_USB_LINUX_MMAPPED},
#endif /* DLT_USB_LINUX_MMAPPED */
-#ifdef DLT_SYMANTEC_FIREWALL
- { symantec_if_print, DLT_SYMANTEC_FIREWALL },
-#endif
#ifdef DLT_C_HDLC
{ chdlc_if_print, DLT_C_HDLC },
#endif
@@ -255,6 +252,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_SYMANTEC_FIREWALL
+ { symantec_if_print, DLT_SYMANTEC_FIREWALL },
+#endif
{ NULL, 0 },
};