X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4d25a55c3e2ebf62ff3a9e16569eef4cb9dc29f4..HEAD:/print-ah.c?ds=sidebyside diff --git a/print-ah.c b/print-ah.c index b9364dc3..3b3a7921 100644 --- a/print-ah.c +++ b/print-ah.c @@ -23,9 +23,7 @@ /* \summary: IPSEC Authentication Header printer */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -46,7 +44,6 @@ ah_print(netdissect_options *ndo, const u_char *bp) ndo->ndo_protocol = "ah"; ah = (const struct ah *)bp; - ND_TCHECK_SIZE(ah); nd_print_protocol_caps(ndo); /* * RFC4302 @@ -73,7 +70,4 @@ ah_print(netdissect_options *ndo, const u_char *bp) ND_PRINT("): "); return ah_hdr_len; -trunc: - nd_print_trunc(ndo); - return -1; }