]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ahcp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-ahcp.c
index e452e383682e6c8c6ebf038f1ca773ce88676e69..9ac7de05c7c7e072d3f104c35eccccb4516784fb 100644 (file)
@@ -350,6 +350,7 @@ ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len)
        const u_char *ep = ndo->ndo_snapend;
        uint8_t version;
 
+       ndo->ndo_protocol = "ahcp";
        ND_PRINT("AHCP");
        if (len < 2)
                goto invalid;