]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / print-ah.c
index b9364dc3bf7b0f449ebea338094537d30079216f..a3d05544c2d786719dd95de40b982cc699f7b189 100644 (file)
@@ -46,7 +46,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 +72,4 @@ ah_print(netdissect_options *ndo, const u_char *bp)
        ND_PRINT("): ");
 
        return ah_hdr_len;
-trunc:
-       nd_print_trunc(ndo);
-       return -1;
 }