]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-hncp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-hncp.c
index e448f567a05859d49a3284e7850b5ff80af70499..471161f1dbf8007f02fba880d28da807d4f62600 100644 (file)
@@ -49,6 +49,7 @@ void
 hncp_print(netdissect_options *ndo,
            const u_char *cp, u_int length)
 {
+    ndo->ndo_protocol = "hncp";
     ND_PRINT("hncp (%u)", length);
     hncp_print_rec(ndo, cp, length, 1);
 }