aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipv6.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-23 15:08:25 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-23 15:08:25 +0000
commit02fe5e7d57338df4215be494d121c833be481fa3 (patch)
treed6238881835cfada16d982c7113e5430028bf2eb /packet-ipv6.h
parentf142a75daa1996964514339cdd396cdf03f676bc (diff)
Got rid of ipv6 compiler warnings when compiling on RedHat 6.0.
Initialized AndXCommand to 0 in packet-smb.c just to get rid of compiler warning about 'possibly used uninitialized'. svn path=/trunk/; revision=382
Diffstat (limited to 'packet-ipv6.h')
-rw-r--r--packet-ipv6.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/packet-ipv6.h b/packet-ipv6.h
index 65fddab696..6a3ce3f9e7 100644
--- a/packet-ipv6.h
+++ b/packet-ipv6.h
@@ -1,7 +1,7 @@
/* packet-ipv6.h
* Definitions for IPv6 packet disassembly
*
- * $Id: packet-ipv6.h,v 1.3 1999/04/06 16:24:49 gram Exp $
+ * $Id: packet-ipv6.h,v 1.4 1999/07/23 15:08:25 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -34,6 +34,22 @@ struct e_in6_addr {
} u6_addr; /* 128 bit IP6 address */
};
+#ifdef s6_addr32
+#undef s6_addr32
+#endif
+
+#ifdef s6_addr16
+#undef s6_addr16
+#endif
+
+#ifdef s6_addr8
+#undef s6_addr8
+#endif
+
+#ifdef s6_addr
+#undef s6_addr
+#endif
+
#define s6_addr32 u6_addr.u6_addr32
#define s6_addr16 u6_addr.u6_addr16
#define s6_addr8 u6_addr.u6_addr8