From 8e338956f8cd60e49364585bdfd2f9f5c89975da Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 12 Dec 2000 09:58:40 +0000 Subject: print SPI in hex. --- print-ipcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-ipcomp.c') diff --git a/print-ipcomp.c b/print-ipcomp.c index 56172ea1..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.12 2000-10-07 05:46:21 itojun Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.13 2000-12-12 09:58:41 itojun Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -71,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) -- cgit v1.2.1