diff options
author | henning <henning@openbsd.org> | 2014-07-11 16:39:06 +0000 |
---|---|---|
committer | henning <henning@openbsd.org> | 2014-07-11 16:39:06 +0000 |
commit | 2a4a63f19846a71bf894877caf1d226d7b36401b (patch) | |
tree | 167e908bd78400f593bb8965b876a2f0175646c4 /sys/netinet6/in6_proto.c | |
parent | Remove redundant mask check in the interrupt routine. (diff) | |
download | wireguard-openbsd-2a4a63f19846a71bf894877caf1d226d7b36401b.tar.xz wireguard-openbsd-2a4a63f19846a71bf894877caf1d226d7b36401b.zip |
introduce the IFXF_AUTOCONF6 interface flag which controls wether we
accept rtadvs on that interface. the global net.inet6.ip6.accept_rtadv
sysctl just doesn't cut it, even tho the spec wants that - but in their
little absurd world, a host just has one interface by definition anyway...
the sysctlgoes away.
lots of head scratching, brain cell elemination etc from bluhm benno stsp
florian, excitement from simon and todd, ok bluhm stsp benno florian
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r-- | sys/netinet6/in6_proto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 19094d77733..3377ada477f 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_proto.c,v 1.71 2014/07/11 12:20:26 benno Exp $ */ +/* $OpenBSD: in6_proto.c,v 1.72 2014/07/11 16:39:06 henning Exp $ */ /* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */ /* @@ -275,7 +275,6 @@ int ip6_multipath = 0; /* no using multipath routes unless ... */ int ip6_sendredirects = 1; int ip6_defhlim = IPV6_DEFHLIM; int ip6_defmcasthlim = IPV6_DEFAULT_MULTICAST_HOPS; -int ip6_accept_rtadv = 0; /* enabling forwarding and rtadv concurrently is dangerous */ int ip6_maxfragpackets = 200; int ip6_maxfrags = 200; int ip6_log_interval = 5; |