summaryrefslogtreecommitdiff
path: root/netdissect.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-08 10:42:36 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-08 10:50:49 +0100
commit59cad18b62c33b93ce2a6386941cb6b16b044bab (patch)
tree687502c3e6026d9af7c56da348a6533dc0aee076 /netdissect.h
parentc3f8e04764b5f9dcb424722aaeee9598e705faed (diff)
downloadtcpdump-59cad18b62c33b93ce2a6386941cb6b16b044bab.tar.gz
IPNET: Update the link-layer dissector to a void function
Moreover: Remove trailing "_if" from protocol name. Remove a useless ND_TCHECK_1 test (GET_U_1 is used). Remove a no longer used 'trunc' label.
Diffstat (limited to 'netdissect.h')
-rw-r--r--netdissect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdissect.h b/netdissect.h
index b6fe0b51..76a18425 100644
--- a/netdissect.h
+++ b/netdissect.h
@@ -483,7 +483,7 @@ extern u_int ieee802_15_4_if_print IF_PRINTER_ARGS;
extern u_int ieee802_15_4_tap_if_print IF_PRINTER_ARGS;
extern u_int ipfc_if_print IF_PRINTER_ARGS;
extern u_int ipoib_if_print IF_PRINTER_ARGS;
-extern u_int ipnet_if_print IF_PRINTER_ARGS;
+extern void ipnet_if_print IF_PRINTER_ARGS;
extern u_int juniper_atm1_if_print IF_PRINTER_ARGS;
extern u_int juniper_atm2_if_print IF_PRINTER_ARGS;
extern u_int juniper_chdlc_if_print IF_PRINTER_ARGS;