NFLOG: Add a missing nd_print_trunc() call

This commit is contained in:
Francois-Xavier Le Bail 2020-05-04 19:32:47 +02:00
parent 5b52e5fa19
commit ea684418af

View File

@ -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;
}