summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-07-13 17:17:27 +0000
committerflorian <florian@openbsd.org>2017-07-13 17:17:27 +0000
commitfe5f5ac96465a2af835922a5d2ad778623d43ad0 (patch)
tree76308bdb9379c87a07432885747e067d10ed8f71 /sys/netinet6/in6.h
parentadd an option to listen to an address other than localhost, (diff)
downloadwireguard-openbsd-fe5f5ac96465a2af835922a5d2ad778623d43ad0.tar.xz
wireguard-openbsd-fe5f5ac96465a2af835922a5d2ad778623d43ad0.zip
Get rid of ip6.maxifprefixes and ip6.maxifdefrouters, the kernel no
longer tracks prefixes or default routers from router advertisements. Pointed out by jmc. ports tree grepping sthen, who only found nsh OK mpi, sthen
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 1aac6581916..ac0120e4217 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.96 2017/05/30 09:10:49 mpi Exp $ */
+/* $OpenBSD: in6.h,v 1.97 2017/07/13 17:17:27 florian Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -584,8 +584,6 @@ ifatoia6(struct ifaddr *ifa)
#define IPV6CTL_MULTIPATH 43
#define IPV6CTL_MCAST_PMTU 44 /* path MTU discovery for multicast */
#define IPV6CTL_NEIGHBORGCTHRESH 45
-#define IPV6CTL_MAXIFPREFIXES 46
-#define IPV6CTL_MAXIFDEFROUTERS 47
#define IPV6CTL_MAXDYNROUTES 48
#define IPV6CTL_DAD_PENDING 49
#define IPV6CTL_MTUDISCTIMEOUT 50
@@ -644,8 +642,8 @@ ifatoia6(struct ifaddr *ifa)
{ "multipath", CTLTYPE_INT }, \
{ "multicast_mtudisc", CTLTYPE_INT }, \
{ "neighborgcthresh", CTLTYPE_INT }, \
- { "maxifprefixes", CTLTYPE_INT }, \
- { "maxifdefrouters", CTLTYPE_INT }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
{ "maxdynroutes", CTLTYPE_INT }, \
{ "dad_pending", CTLTYPE_INT }, \
{ "mtudisctimeout", CTLTYPE_INT }, \
@@ -701,8 +699,8 @@ ifatoia6(struct ifaddr *ifa)
&ip6_multipath, \
&ip6_mcast_pmtu, \
&ip6_neighborgcthresh, \
- &ip6_maxifprefixes, \
- &ip6_maxifdefrouters, \
+ NULL, \
+ NULL, \
&ip6_maxdynroutes, \
NULL, \
NULL, \