mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct the command for setting the 6rd gw
This commit is contained in:
parent
b90ae531a3
commit
f0f714c512
@ -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'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user