diff options
author | Ermal <eri@pfsense.org> | 2014-02-18 09:25:41 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-18 09:26:28 +0000 |
commit | 70b49cba96706753a7c1bc4a1166f9744a080352 (patch) | |
tree | d4d7b4d07f58866e26a3fda9a70e5acaddd01514 /etc | |
parent | d671c1d0f7891d12d83606af707bc537ed7fa6e6 (diff) | |
download | pfsense-70b49cba96706753a7c1bc4a1166f9744a080352.zip pfsense-70b49cba96706753a7c1bc4a1166f9744a080352.tar.gz |
Really need the interface where v6 is running toa dd the gateway/route rather than the one used for the configuration. This Fixes #3357
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index b2d7309..a456070 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -401,7 +401,7 @@ function system_routing_configure($interface = "") { $gatewayipv6 = $gateway['gateway']; $interfacegwv6 = $gateway['interface']; if (!empty($gateway['interface'])) { - $defaultifv6 = get_real_interface($gateway['interface'], "inet6"); + $defaultifv6 = get_real_interface($gateway['interface']); if ($defaultifv6) @file_put_contents("{$g['tmp_path']}/{$defaultifv6}_defaultgwv6", $gateway['gateway']); } @@ -419,7 +419,7 @@ function system_routing_configure($interface = "") { @touch("{$g['tmp_path']}/{$defaultif}_defaultgw"); } if ($foundgwv6 == false) { - $defaultifv6 = get_real_interface("wan", "inet6"); + $defaultifv6 = get_real_interface("wan"); $interfacegwv6 = "wan"; $gatewayipv6 = get_interface_gateway_v6("wan"); @touch("{$g['tmp_path']}/{$defaultif}_defaultgwv6"); |