]> The Tcpdump Group git mirrors - tcpdump/commitdiff
NFLOG: Add a missing nd_print_trunc() call
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 4 May 2020 17:32:47 +0000 (19:32 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 4 May 2020 17:32:47 +0000 (19:32 +0200)
print-nflog.c

index 77f52f50b5e3dec5edd668f3b9b9baf2adcc7d2d..83222da692eef917bae7b21f7458c5e692ed4dcd 100644 (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;
        }