diff options
author | Ermal <eri@pfsense.org> | 2013-06-04 18:04:14 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-06-04 18:04:44 +0000 |
commit | 00a7438c5bdb8e4c607c7a00bc2ca9be133f3a7a (patch) | |
tree | 6ad76dad114a5bb5547f993f5608b990057248c4 /etc/inc | |
parent | 50d3ed9c3c76d16a88d801ded20f4db9e7f6e915 (diff) | |
download | pfsense-00a7438c5bdb8e4c607c7a00bc2ca9be133f3a7a.zip pfsense-00a7438c5bdb8e4c607c7a00bc2ca9be133f3a7a.tar.gz |
Add the 6rd gateway information
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 81a1d5f..9b97131 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3292,6 +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'])); if ($wancfg['prefix-6rd-v4plen'] > 0 && $wancfg['prefix-6rd-v4plen'] < 32) mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/{$wancfg['prefix-6rd-v4plen']}"); if ($g['debug']) |