summaryrefslogtreecommitdiff
path: root/print-esp.c
diff options
context:
space:
mode:
authorguy <guy>2003-03-19 05:36:22 +0000
committerguy <guy>2003-03-19 05:36:22 +0000
commitdf88dfd51150df9a978885162de55f7bd38165e4 (patch)
tree95c866dcbfd047fc48e4b5c4c187d9672bb74e98 /print-esp.c
parent5d2a060ede22c14d8c2d80db88196dc05e81b4a4 (diff)
downloadtcpdump-df88dfd51150df9a978885162de55f7bd38165e4.tar.gz
From an anonymous SourceForge user: use "u_int32_t", not "uint32_t", to
allow it to compile on Darwin (and there may be other platforms where that's necessary as well).
Diffstat (limited to 'print-esp.c')
-rw-r--r--print-esp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-esp.c b/print-esp.c
index 639c2efb..3c28f9ec 100644
--- a/print-esp.c
+++ b/print-esp.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.35 2003-03-13 07:40:48 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.36 2003-03-19 05:36:22 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -116,7 +116,7 @@ struct sockaddr_storage {
struct sa_list {
struct sa_list *next;
struct sockaddr_storage daddr;
- uint32_t spi;
+ u_int32_t spi;
struct esp_algorithm *xform;
char secret[256]; /* is that big enough for all secrets? */
int secretlen;