diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-05-20 22:47:06 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-05-20 22:47:06 +0200 |
commit | 100c7be0ed9f0b20330b59f5498b1c142a748366 (patch) | |
tree | 5d864c9ab7490a5e6854dbc3bbed354a698d3016 /etc | |
parent | f69d8346d56e2f4de405c9cedf316bccf453f1b0 (diff) | |
download | pfsense-100c7be0ed9f0b20330b59f5498b1c142a748366.zip pfsense-100c7be0ed9f0b20330b59f5498b1c142a748366.tar.gz |
Do not use global router advertisements, instead configure per interface.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 015f0eb..13cdf15 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2877,7 +2877,8 @@ function interface_dhcpv6_configure($interface = "wan") { fclose($fd); /* accept router advertisements for this interface */ - mwexec("/sbin/sysctl -w net.inet6.ip6.accept_rtadv=1"); + // mwexec("/sbin/sysctl -w net.inet6.ip6.accept_rtadv=1"); + mwexec("/sbin/ifconfig {$wanif} inet6 accept_rtadv"); /* fire up dhcp6c for IPv6 first, this backgrounds immediately */ mwexec("/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf {$wanif}"); |