]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sunrpc.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-sunrpc.c
index 9c62728fc1b3f950e29211e74ba95ef828b0a5ba..d5ffe8d46d369473c349cd38ac13d08cbd162f45 100644 (file)
@@ -167,6 +167,7 @@ sunrpc_print(netdissect_options *ndo, const u_char *bp,
        uint32_t x;
        char srcid[20], dstid[20];      /*fits 32bit*/
 
+       ndo->ndo_protocol = "sunrpc";
        rp = (const struct sunrpc_msg *)bp;
 
        if (!ndo->ndo_nflag) {