]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-dccp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-dccp.c
index 5937d53aa4ac73cc25cd9a795f301b5a506b56bd..a717b166d01bee53f1b7c3936f1294bf6c140632 100644 (file)
@@ -284,6 +284,7 @@ dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2,
        u_int fixed_hdrlen;
        uint8_t dccph_type;
 
+       ndo->ndo_protocol = "dccp";
        dh = (const struct dccp_hdr *)bp;
 
        ip = (const struct ip *)data2;