diff --git a/src/etc/netstart b/src/etc/netstart index 9ef97409..ca60a55f 100644 --- a/src/etc/netstart +++ b/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.144 2014/12/03 19:55:49 florian Exp $ +# $OpenBSD: netstart,v 1.145 2015/06/06 13:13:07 florian Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -242,13 +242,8 @@ ifmstart "" "trunk svlan vlan carp gif gre pfsync pppoe tun bridge" ifmstart "trunk svlan vlan carp" if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then - fw=`sysctl -n net.inet6.ip6.forwarding` - if [ "x$fw" = "x0" ]; then - echo "IPv6 autoconf:$rtsolif" - ifconfig $rtsolif inet6 autoconf - else - echo "IPv6 autoconf not supported while IPv6 forwarding is enabled" - fi + echo "IPv6 autoconf:$rtsolif" + ifconfig $rtsolif inet6 autoconf fi # Look for default routes in /etc/mygate.