summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-06-12 07:05:26 +0000
committerErmal <eri@pfsense.org>2013-06-12 07:05:26 +0000
commit8984529d39f877790306d7cfc99c8bad1678cd0d (patch)
tree414cab2f5852ff9159f5f2635bf9d51ae3f9dfb2 /etc/inc/system.inc
parentf0f714c512bc760f9b15c23b76b0ff6fddaf5da2 (diff)
downloadpfsense-8984529d39f877790306d7cfc99c8bad1678cd0d.zip
pfsense-8984529d39f877790306d7cfc99c8bad1678cd0d.tar.gz
Actually try to get the real interface for v6 family to correctly get stf(virtual) interfaces
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 8e59af4..07217f4 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -412,7 +412,7 @@ function system_routing_configure($interface = "") {
@touch("{$g['tmp_path']}/{$defaultif}_defaultgw");
}
if ($foundgwv6 == false) {
- $defaultifv6 = get_real_interface("wan");
+ $defaultifv6 = get_real_interface("wan", "inet6");
$interfacegwv6 = "wan";
$gatewayipv6 = get_interface_gateway_v6("wan");
@touch("{$g['tmp_path']}/{$defaultif}_defaultgwv6");
OpenPOWER on IntegriCloud