]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-wb.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-wb.c
index 4d8f54034aca14a4444161255a16d80c2bbbfacd..42686906c252a4a3edd9b5cb99f310dbf8bb76af 100644 (file)
@@ -402,6 +402,7 @@ wb_print(netdissect_options *ndo,
        const struct pkt_hdr *ph;
        uint8_t type;
 
+       ndo->ndo_protocol = "wb";
        ph = (const struct pkt_hdr *)hdr;
        if (len < sizeof(*ph) || !ND_TTEST_SIZE(ph)) {
                ND_PRINT("%s", tstr);