summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-05-25 00:34:25 +0000
committerbz <bz@FreeBSD.org>2011-05-25 00:34:25 +0000
commit2a56bd31552754fcf7be84e5f869a380215e53b1 (patch)
treeb4fe38a3b42d79e1a796744a8ac7fdf9aaa6ec3f /sys/netinet6
parenta96876c24e98e1b7f842f4e941de6b223c185541 (diff)
downloadFreeBSD-src-2a56bd31552754fcf7be84e5f869a380215e53b1.zip
FreeBSD-src-2a56bd31552754fcf7be84e5f869a380215e53b1.tar.gz
Add FEATURE() definitions for IPv4 and IPv6 so that we can use
feature_present(3) to dynamically decide whether to use one or the other family. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index acd1569..ab54755 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -133,6 +133,7 @@ __FBSDID("$FreeBSD$");
/*
* TCP/IP protocol family: IP6, ICMP6, UDP, TCP.
*/
+FEATURE(inet6, "Internet Protocol version 6");
extern struct domain inet6domain;
static struct pr_usrreqs nousrreqs;
OpenPOWER on IntegriCloud