summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2009-02-18 01:53:07 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2009-02-18 01:53:07 +0000
commit6ad70ab2a8efa5a06c814e132e7b47b1b1f39bdf (patch)
tree4451cb156db5caab940e736e5608eb266fdf5f8d /usr.sbin/tcpdump
parentcdac8ddea9f4300f87c741365db7437baf39cc61 (diff)
Print spi in lowercase hex for consistency with print-enc.c and ipsecctl.
ok hshoexer msf
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-ipsec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-ipsec.c b/usr.sbin/tcpdump/print-ipsec.c
index c20c58a4c1f..38da430924f 100644
--- a/usr.sbin/tcpdump/print-ipsec.c
+++ b/usr.sbin/tcpdump/print-ipsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ipsec.c,v 1.12 2007/10/07 16:41:05 deraadt Exp $ */
+/* $OpenBSD: print-ipsec.c,v 1.13 2009/02/18 01:53:06 mcbride Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Id: print-ipsec.c,v 1.12 2007/10/07 16:41:05 deraadt Exp $ (XXX)";
+ "@(#) $Id: print-ipsec.c,v 1.13 2009/02/18 01:53:06 mcbride Exp $ (XXX)";
#endif
#include <sys/param.h>
@@ -233,7 +233,7 @@ esp_print (register const u_char *bp, register u_int len,
}
esp = (const struct esp_hdr *)bp;
- printf(" spi 0x%08X seq %d len %d",
+ printf(" spi 0x%08x seq %d len %d",
ntohl(esp->esp_spi), ntohl(esp->esp_seq), len);
if (espinit)