summaryrefslogtreecommitdiffstats
path: root/etc/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:48 +0000
commit1da5d1d74256aad07ece1354aeace9e5c771514c (patch)
treea31f8675a8de9c4b2ce1d8f186b9497d3cbfc030 /etc/inc
parent43b9f062e36988004d0e5dadee9f2a61b1a1df5f (diff)
downloadpfsense-1da5d1d74256aad07ece1354aeace9e5c771514c.zip
pfsense-1da5d1d74256aad07ece1354aeace9e5c771514c.tar.gz
Actually try to get the real interface for v6 family to correctly get stf(virtual) interfaces
Diffstat (limited to 'etc/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 f6b472e..8cb44f4 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -411,7 +411,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