From 00a7438c5bdb8e4c607c7a00bc2ca9be133f3a7a Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 4 Jun 2013 18:04:14 +0000 Subject: [PATCH] Add the 6rd gateway information --- etc/inc/interfaces.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 81a1d5f418..9b97131c65 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'])