]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-ah.c
index 2f58716b8a553eb8d9c7b50dc5b23dbdc531c6d2..ec94cc1446afec29a3778bb45a53064a4316443c 100644 (file)
@@ -40,6 +40,7 @@ ah_print(netdissect_options *ndo, const u_char *bp)
        const struct ah *ah;
        u_int sumlen;
 
+       ndo->ndo_protocol = "ah";
        ah = (const struct ah *)bp;
 
        ND_TCHECK_SIZE(ah);