]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nflog.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-nflog.c
index 522d212ce06f33832da31c747c00d0d8ff99889a..6a22ca9db8f0ce271730bc489422a5440ccffcfd 100644 (file)
@@ -77,6 +77,7 @@ nflog_if_print(netdissect_options *ndo,
        u_int caplen = h->caplen;
        u_int length = h->len;
 
+       ndo->ndo_protocol = "nflog_if";
        if (caplen < sizeof(nflog_hdr_t) || length < sizeof(nflog_hdr_t))
                goto trunc;