]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rrcp.c
Fix spaces
[tcpdump] / print-rrcp.c
index 4d4aa6ed40cbfbcae6d76d4c32eb4a48ef9ec966..1d76613d471bfae58e5d0e81da86fd59839420cd 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);
@@ -141,5 +142,5 @@ rrcp_print(netdissect_options *ndo,
        return;
 
 trunc:
-       ND_PRINT("[|rrcp]");
+       nd_print_trunc(ndo);
 }