X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e11ed169b11242f2107d02cc3ec2ab5a77736bfb..13c623cda77c2215c1641c53edf6e2de1786f36b:/print-ipcomp.c diff --git a/print-ipcomp.c b/print-ipcomp.c index 1e8936ff..6509f9ed 100644 --- a/print-ipcomp.c +++ b/print-ipcomp.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.11 2000-10-06 04:23:12 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.13 2000-12-12 09:58:41 itojun Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -38,10 +38,6 @@ static const char rcsid[] = #include -#ifdef INET6 -#include -#endif - struct ipcomp { u_int8_t comp_nxt; /* Next Header */ u_int8_t comp_flags; /* Length of data, in 32bit */ @@ -75,7 +71,7 @@ ipcomp_print(register const u_char *bp, register const u_char *bp2, int *nhdr) fputs("[|IPCOMP]", stdout); goto fail; } - printf("IPComp(cpi=%u)", cpi); + printf("IPComp(cpi=0x%04x)", cpi); #if defined(HAVE_LIBZ) && defined(HAVE_ZLIB_H) if (1)