summaryrefslogtreecommitdiff
path: root/netdissect.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 18:21:40 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-07 20:36:34 +0100
commit717095ab66fd1930248b6a3069ed275281214898 (patch)
treea1c5808b20f0ba91b60a369fcee608b9bdeb8e29 /netdissect.h
parent92a263b1b36bd33612baa63b9e9ed0a41e07f05f (diff)
downloadtcpdump-717095ab66fd1930248b6a3069ed275281214898.tar.gz
NULL/LOOP: Update the link-layer dissector to a void function
Moreover: Remove trailing "_if" from protocol name. Remove a useless ND_TCHECK_4 test (GET_HE_U_4 used). Remove a no longer used 'trunc' label. Use uint32_t type for family in null_hdr_print().
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 4b42f4a1..1edfdbdb 100644
--- a/netdissect.h
+++ b/netdissect.h
@@ -505,7 +505,7 @@ extern u_int mfr_if_print IF_PRINTER_ARGS;
extern u_int netanalyzer_if_print IF_PRINTER_ARGS;
extern u_int netanalyzer_transparent_if_print IF_PRINTER_ARGS;
extern u_int nflog_if_print IF_PRINTER_ARGS;
-extern u_int null_if_print IF_PRINTER_ARGS;
+extern void null_if_print IF_PRINTER_ARGS;
extern u_int pflog_if_print IF_PRINTER_ARGS;
extern u_int pktap_if_print IF_PRINTER_ARGS;
extern u_int ppi_if_print IF_PRINTER_ARGS;