diff options
author | cperciva <cperciva@FreeBSD.org> | 2013-04-27 23:36:01 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2013-04-27 23:36:01 +0000 |
commit | fcb67434842e8a1a8ba60a2607b55922d35887fb (patch) | |
tree | 50eec9c25222b246148990e126aa50f816cff10e /sys/netinet | |
parent | e5f418e7442714adb1a3816294a5c53e1b00757b (diff) | |
download | FreeBSD-src-fcb67434842e8a1a8ba60a2607b55922d35887fb.zip FreeBSD-src-fcb67434842e8a1a8ba60a2607b55922d35887fb.tar.gz |
Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE >= 201112
since POSIX 2001 states that it shall be defined.
Reported by: sbruno
Reviewed by: jilles
MFC after: 1 week
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index b66296c..9f3b294 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -123,6 +123,7 @@ __END_DECLS #endif /* !_KERNEL && __BSD_VISIBLE */ #if __POSIX_VISIBLE >= 200112 +#define IPPROTO_IPV6 41 /* IP6 header */ #define IPPROTO_RAW 255 /* raw IP packet */ #define INET_ADDRSTRLEN 16 #endif @@ -174,7 +175,6 @@ __END_DECLS #define IPPROTO_CMTP 38 /* Control Message Transport */ #define IPPROTO_TPXX 39 /* TP++ Transport */ #define IPPROTO_IL 40 /* IL transport protocol */ -#define IPPROTO_IPV6 41 /* IP6 header */ #define IPPROTO_SDRP 42 /* Source Demand Routing */ #define IPPROTO_ROUTING 43 /* IP6 routing header */ #define IPPROTO_FRAGMENT 44 /* IP6 fragmentation header */ |