Correct the command for setting the 6rd gw

This commit is contained in:
Ermal 2013-06-11 18:33:13 +00:00
parent b90ae531a3
commit f0f714c512

View File

@ -3292,7 +3292,7 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
pfSense_interface_rename($tmpstfiface, $stfiface);
pfSense_interface_flags($stfiface, IFF_LINK2);
mwexec("/sbin/ifconfig {$stfiface} inet6 {$rd6prefix}/{$rd6prefixlen}");
mwexec("/sbin/ifconfig {$stfiface} stfv4rd " . escapeshellarg($wancfg['gateway-6rd']));
mwexec("/sbin/ifconfig {$stfiface} stfv4br " . escapeshellarg($wancfg['gateway-6rd']));
if ($wancfg['prefix-6rd-v4plen'] > 0 && $wancfg['prefix-6rd-v4plen'] < 32)
mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/{$wancfg['prefix-6rd-v4plen']}");
if ($g['debug'])