summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-28 10:40:28 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-28 10:44:30 +0100
commita0d6dc5065c803bc3f8be2260d8b5657a663d78e (patch)
treeadd3dff1ccea34aa459042cf8ebfacaec0c1c159 /print.c
parenta80bcdd550e701299d6b04f864922b43e4b69dd8 (diff)
downloadtcpdump-a0d6dc5065c803bc3f8be2260d8b5657a663d78e.tar.gz
PKTAP: Update the link-layer dissector to a void function
Moreover: Remove trailing "_if" from protocol name. Update the output of a test accordingly.
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 97d0a4c2..4f5de270 100644
--- a/print.c
+++ b/print.c
@@ -173,9 +173,6 @@ static const struct uint_printer uint_printers[] = {
#ifdef DLT_JUNIPER_CHDLC
{ juniper_chdlc_if_print, DLT_JUNIPER_CHDLC },
#endif
-#ifdef DLT_PKTAP
- { pktap_if_print, DLT_PKTAP },
-#endif
#ifdef DLT_IEEE802_11_RADIO
{ ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO },
#endif
@@ -233,6 +230,9 @@ static const struct void_printer void_printers[] = {
#ifdef DLT_LOOP
{ null_if_print, DLT_LOOP },
#endif
+#ifdef DLT_PKTAP
+ { pktap_if_print, DLT_PKTAP },
+#endif
#ifdef DLT_PPI
{ ppi_if_print, DLT_PPI },
#endif