diff options
author | itojun <itojun> | 2000-12-12 09:58:40 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-12-12 09:58:40 +0000 |
commit | 8e338956f8cd60e49364585bdfd2f9f5c89975da (patch) | |
tree | ddc640ddc5767194cb1f302a5c7c553e50dbeb74 /print-ipcomp.c | |
parent | 8f9b0fb4a13a3cb56b1acb9f10b1c0449dd346ba (diff) | |
download | tcpdump-8e338956f8cd60e49364585bdfd2f9f5c89975da.tar.gz |
print SPI in hex.
Diffstat (limited to 'print-ipcomp.c')
-rw-r--r-- | print-ipcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |