summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-06 16:23:30 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-06 16:27:24 +0200
commitb846e244235904990a66bb7fcee7b028cf83ab2c (patch)
tree84c7bd45afc0b68b01febe29acd8abadd25a4eff /print.c
parent5e9a51fdd559721eab88ec68a06b191997c57883 (diff)
downloadtcpdump-b846e244235904990a66bb7fcee7b028cf83ab2c.tar.gz
AppleTalk: Update the link-layer dissector to a void function
Moreover: Remove trailing "_if" from the 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 4f5273d0..6b8931e0 100644
--- a/print.c
+++ b/print.c
@@ -56,9 +56,6 @@ static const struct uint_printer uint_printers[] = {
#if defined(DLT_PFLOG) && defined(HAVE_NET_IF_PFLOG_H)
{ pflog_if_print, DLT_PFLOG },
#endif
-#ifdef DLT_LTALK
- { ltalk_if_print, DLT_LTALK },
-#endif
{ NULL, 0 },
};
@@ -181,6 +178,9 @@ static const struct void_printer void_printers[] = {
#ifdef DLT_JUNIPER_SERVICES
{ juniper_services_if_print, DLT_JUNIPER_SERVICES },
#endif
+#ifdef DLT_LTALK
+ { ltalk_if_print, DLT_LTALK },
+#endif
#ifdef DLT_MFR
{ mfr_if_print, DLT_MFR },
#endif