]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Revert partially the commit 21b1273
[tcpdump] / print-ah.c
index 59b006ea9a152a639c8dcf500060f00cb1015d89..734099cff3ce3f56c3e1b76758ec7ba0eda7c458 100644 (file)
@@ -50,7 +50,6 @@ ah_print(netdissect_options *ndo, const u_char *bp)
        ND_PRINT("AH(spi=0x%08x", GET_BE_U_4(ah->ah_spi));
        if (ndo->ndo_vflag)
                ND_PRINT(",sumlen=%u", sumlen);
-       ND_TCHECK_4(ah + 1);
        ND_PRINT(",seq=0x%x", GET_BE_U_4(ah + 1));
        ND_TCHECK_LEN(bp, sizeof(struct ah) + sumlen);
        ND_PRINT("): ");