#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
#include <stdio.h>
-#ifdef INET6
-#include <netinet/ip6.h>
-#endif
-
struct ipcomp {
u_int8_t comp_nxt; /* Next Header */
u_int8_t comp_flags; /* Length of data, in 32bit */
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)