Skip to content

Commit 24a979b

Browse files
committed
IRIX defines IPV6_VERSION in <netinet/in.h>, and we don't use it, so
remove the definition from ip6.h, to get rid of compiler warnings.
1 parent 88afd2c commit 24a979b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ip6.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6 2002-12-11 22:29:21 guy Exp $ (LBL) */
1+
/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6.4.1 2005-04-20 10:04:37 guy Exp $ (LBL) */
22
/* $NetBSD: ip6.h,v 1.9 2000/07/13 05:34:21 itojun Exp $ */
33
/* $KAME: ip6.h,v 1.9 2000/07/02 21:01:32 itojun Exp $ */
44

@@ -95,9 +95,6 @@ struct ip6_hdr {
9595
#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
9696
#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
9797

98-
#define IPV6_VERSION 0x60
99-
#define IPV6_VERSION_MASK 0xf0
100-
10198
/* in network endian */
10299
#define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */
103100
#define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */

0 commit comments

Comments
 (0)