summaryrefslogtreecommitdiff
path: root/netdissect.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-28 08:38:04 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-28 08:50:00 +0100
commita80bcdd550e701299d6b04f864922b43e4b69dd8 (patch)
tree0c02e44e3fc356d3bc899fe8b0280eba7c228de9 /netdissect.h
parentb2e294e55c363d3f447bdac93a3753be7ea1087e (diff)
downloadtcpdump-a80bcdd550e701299d6b04f864922b43e4b69dd8.tar.gz
PPI: Update the link-layer dissector to a void function
Moreover: Merge ppi_if_print() and ppi_print() in one function. Remove two useless ND_TCHECK_ tests (GET_ 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 4fbfad67..b7dafa59 100644
--- a/netdissect.h
+++ b/netdissect.h
@@ -510,7 +510,7 @@ extern u_int nflog_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;
+extern void ppi_if_print IF_PRINTER_ARGS;
extern u_int ppp_bsdos_if_print IF_PRINTER_ARGS;
extern u_int ppp_hdlc_if_print IF_PRINTER_ARGS;
extern u_int ppp_if_print IF_PRINTER_ARGS;