diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-28 10:40:28 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-28 10:44:30 +0100 |
commit | a0d6dc5065c803bc3f8be2260d8b5657a663d78e (patch) | |
tree | add3dff1ccea34aa459042cf8ebfacaec0c1c159 /print.c | |
parent | a80bcdd550e701299d6b04f864922b43e4b69dd8 (diff) | |
download | tcpdump-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |