]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From an anonymous SourceForge user: use "u_int32_t", not "uint32_t", to
authorguy <guy>
Wed, 19 Mar 2003 05:36:22 +0000 (05:36 +0000)
committerguy <guy>
Wed, 19 Mar 2003 05:36:22 +0000 (05:36 +0000)
allow it to compile on Darwin (and there may be other platforms where
that's necessary as well).

print-esp.c

index 639c2efba69ca8a2f50b5975a847bce47eeea600..3c28f9ece8362abb2d2573ccaf681cf795ce5f9f 100644 (file)
@@ -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;