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-ah.c | |
parent | 8f9b0fb4a13a3cb56b1acb9f10b1c0449dd346ba (diff) | |
download | tcpdump-8e338956f8cd60e49364585bdfd2f9f5c89975da.tar.gz |
print SPI in hex.
Diffstat (limited to 'print-ah.c')
-rw-r--r-- | print-ah.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.13 2000-10-06 11:32:18 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.14 2000-12-12 09:58:40 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -61,7 +61,7 @@ ah_print(register const u_char *bp, register const u_char *bp2) sumlen = ah->ah_len << 2; spi = (u_int32_t)ntohl(ah->ah_spi); - printf("AH(spi=%u", spi); + printf("AH(spi=0x%08x", spi); if (vflag) printf(",sumlen=%d", sumlen); printf(",seq=0x%x", (u_int32_t)ntohl(*(u_int32_t *)(ah + 1))); |