diff options
author | shin <shin@FreeBSD.org> | 2000-03-11 20:44:53 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-03-11 20:44:53 +0000 |
commit | e044d421774440592faa23c351f4773f7de640c3 (patch) | |
tree | 368765263162084068674df6ace6e6ffacda5b5a /sys/netinet6/ip6.h | |
parent | a2fa84dec2e8bf7f3bc86f1ed65dc5ef7f80f740 (diff) | |
download | FreeBSD-src-e044d421774440592faa23c351f4773f7de640c3.zip FreeBSD-src-e044d421774440592faa23c351f4773f7de640c3.tar.gz |
Forbid include of netinet6/ip6.h from user-land, and if included,
print an error message which say, "include netinet/ip6.h".
This is postponed to apply to avoid tcpdump compile error.
Now apply this because tcpdump has been already fixed.
Approved by: jkh
Obtained from: KAME project
Diffstat (limited to 'sys/netinet6/ip6.h')
-rw-r--r-- | sys/netinet6/ip6.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/ip6.h b/sys/netinet6/ip6.h index 9c609e7..14ab71d 100644 --- a/sys/netinet6/ip6.h +++ b/sys/netinet6/ip6.h @@ -68,10 +68,8 @@ #define _NETINET6_IPV6_H_ #if !defined(_KERNEL) && !defined(__KAME_NETINET_IP6_H_INCLUDED_) -#if 0 /* XXX: waiting for contrib/addrtoname.c fix */ #error "do not include netinet6/ip6.h directly, include netinet/ip6.h" #endif -#endif /* * Definition for internet protocol version 6. |