summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-08-05 13:01:21 +0000
committercy <cy@FreeBSD.org>2014-08-05 13:01:21 +0000
commitd63d43ae3314c7680d0c22287c24ea5bc8afb4fc (patch)
tree82a6e6412ec75f683d46ef04ddddcfb54a3f9124 /sys/contrib/ipfilter
parent3c2dc8ad2a105f4ec6b5cbb6db1d3e7a367f5dbf (diff)
downloadFreeBSD-src-d63d43ae3314c7680d0c22287c24ea5bc8afb4fc.zip
FreeBSD-src-d63d43ae3314c7680d0c22287c24ea5bc8afb4fc.tar.gz
Honour WITH and WITHOUT_INET6_SUPPORT.
Approved by: glebius (mentor) MFC after: 3 days
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_compat.h b/sys/contrib/ipfilter/netinet/ip_compat.h
index e88ef88..6d74468 100644
--- a/sys/contrib/ipfilter/netinet/ip_compat.h
+++ b/sys/contrib/ipfilter/netinet/ip_compat.h
@@ -118,6 +118,10 @@ struct ether_addr {
# if defined(INET6) && !defined(USE_INET6)
# define USE_INET6
# endif
+# else
+# if !defined(USE_INET6) && !defined(NOINET6)
+# define USE_INET6
+# endif
# endif
# if defined(_KERNEL)
OpenPOWER on IntegriCloud