]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pktap.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-pktap.c
index 3f28ccb08399ffa0fdd40bf7bf2dffc54982e9c5..6db3de503d64c1a3a4b95dbc15d79512963dca77 100644 (file)
@@ -106,6 +106,7 @@ pktap_if_print(netdissect_options *ndo,
        const pktap_header_t *hdr;
        struct pcap_pkthdr nhdr;
 
+       ndo->ndo_protocol = "pktap_if";
        if (caplen < sizeof(pktap_header_t) || length < sizeof(pktap_header_t)) {
                ND_PRINT("[|pktap]");
                return (0);