]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rrcp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-rrcp.c
index 4d4aa6ed40cbfbcae6d76d4c32eb4a48ef9ec966..7e140fb92972f55ce69cfa8c284d0f6976719ee7 100644 (file)
@@ -96,6 +96,7 @@ rrcp_print(netdissect_options *ndo,
        uint8_t rrcp_proto;
        uint8_t rrcp_opcode;
 
+       ndo->ndo_protocol = "rrcp";
        ND_TCHECK_1(cp + RRCP_PROTO_OFFSET);
        rrcp_proto = EXTRACT_U_1(cp + RRCP_PROTO_OFFSET);
        ND_TCHECK_1(cp + RRCP_OPCODE_ISREPLY_OFFSET);