]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-medsa.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-medsa.c
index 8161012bf110147d71db7e14c850b243dd880ee1..dce2b4e8fefc32c1fe7fda1768a047b07dd053d5 100644 (file)
@@ -147,6 +147,7 @@ medsa_print(netdissect_options *ndo,
        const struct medsa_pkthdr *medsa;
        u_short ether_type;
 
+       ndo->ndo_protocol = "medsa";
        medsa = (const struct medsa_pkthdr *)bp;
        ND_TCHECK_SIZE(medsa);