]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ipcomp.c
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / print-ipcomp.c
index 2404740190b0115743a4844f731b71a54496cc48..c0c184ddc83982c1b00a501a7361238b85ec395b 100644 (file)
@@ -44,7 +44,6 @@ ipcomp_print(netdissect_options *ndo, const u_char *bp)
 
        ndo->ndo_protocol = "ipcomp";
        ipcomp = (const struct ipcomp *)bp;
-       ND_TCHECK_SIZE(ipcomp);
        cpi = GET_BE_U_2(ipcomp->comp_cpi);
 
        ND_PRINT("IPComp(cpi=0x%04x)", cpi);
@@ -62,8 +61,4 @@ ipcomp_print(netdissect_options *ndo, const u_char *bp)
         * stops - there's nothing more it can do with a compressed
         * payload.
         */
-       return;
-
-trunc:
-       nd_print_trunc(ndo);
 }