summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-05-19 11:34:39 +0000
committerjca <jca@openbsd.org>2016-05-19 11:34:39 +0000
commit7e2f83f70743b1e4529dc2a348015896a5be8106 (patch)
tree00830b45625ca207cd8d8ae9dda33e65ad5717f4 /sys/netinet6/in6.h
parentRemove the PHYTEC phyFLEX support code, patrick says he no longer (diff)
downloadwireguard-openbsd-7e2f83f70743b1e4529dc2a348015896a5be8106.tar.xz
wireguard-openbsd-7e2f83f70743b1e4529dc2a348015896a5be8106.zip
Remove sysctl net.inet6.ip6.v6only
This sysctl is a no-op, read-only since it was introduced. There are no plans to support IPv4-mapped addresses on OpenBSD, thus this sysctl is meaningless. Noticed by djm@, ok claudio@ mpi@ sthen@ henning@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 6e10b7bf9bc..82548d432f9 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.87 2015/12/03 10:34:24 tedu Exp $ */
+/* $OpenBSD: in6.h,v 1.88 2016/05/19 11:34:39 jca Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -577,8 +577,7 @@ ifatoia6(struct ifaddr *ifa)
#define IPV6CTL_DEFMCASTHLIM 18
#define IPV6CTL_USE_DEPRECATED 21 /* use deprecated addr (RFC2462 5.5.4) */
#define IPV6CTL_RR_PRUNE 22 /* walk timer for router renumbering */
-#define IPV6CTL_V6ONLY 24
-/* 25 to 40: resrved */
+/* 24 to 40: reserved */
#define IPV6CTL_MAXFRAGS 41 /* max fragments */
#define IPV6CTL_MFORWARDING 42
#define IPV6CTL_MULTIPATH 43
@@ -622,7 +621,7 @@ ifatoia6(struct ifaddr *ifa)
{ "use_deprecated", CTLTYPE_INT }, \
{ "rr_prune", CTLTYPE_INT }, \
{ 0, 0 }, \
- { "v6only", CTLTYPE_INT }, \
+ { 0, 0 }, \
{ 0, 0 }, \
{ 0, 0 }, \
{ 0, 0 }, \