summaryrefslogtreecommitdiff
path: root/print-nflog.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-05-04 19:32:47 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-05-04 19:32:47 +0200
commitea684418afcbbe7b45482919ee0bed96fa84fe53 (patch)
tree9e3000282d839003d85eefb19dd8edc0f24612e4 /print-nflog.c
parent5b52e5fa194e55e49b978fefe3cac7820579a60d (diff)
downloadtcpdump-ea684418afcbbe7b45482919ee0bed96fa84fe53.tar.gz
NFLOG: Add a missing nd_print_trunc() call
Diffstat (limited to 'print-nflog.c')
-rw-r--r--print-nflog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/print-nflog.c b/print-nflog.c
index 77f52f50..83222da6 100644
--- a/print-nflog.c
+++ b/print-nflog.c
@@ -144,6 +144,7 @@ nflog_if_print(netdissect_options *ndo,
ndo->ndo_protocol = "nflog";
if (caplen < NFLOG_HDR_LEN) {
+ nd_print_trunc(ndo);
ndo->ndo_ll_header_length += caplen;
return;
}