]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-forces.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-forces.c
index 6835522a8e7605f0e759712a4a1c8c75a29508f0..be978f28849bdb04ffe033fd7c5de05d65ca0b35 100644 (file)
@@ -1707,6 +1707,7 @@ forces_print(netdissect_options *ndo,
        const struct tom_h *tops;
        int rc = 0;
 
+       ndo->ndo_protocol = "forces";
        fhdr = (const struct forcesh *)pptr;
        ND_TCHECK_SIZE(fhdr);
        tom = EXTRACT_U_1(fhdr->fm_tom);