summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-18 08:59:42 +0000
committerErmal <eri@pfsense.org>2014-02-18 09:00:01 +0000
commit7c77641060bc5662f75519556af5e4566078dfc6 (patch)
treea35768ed7d62c937e431fbc92d1230cc37801fa4 /etc
parentfaf92d530c339044ba04914b909de171354d5c14 (diff)
downloadpfsense-7c77641060bc5662f75519556af5e4566078dfc6.zip
pfsense-7c77641060bc5662f75519556af5e4566078dfc6.tar.gz
Pass the family to the get_real_interface function to retrieve the correct real interface. Might help Ticket #3357
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 9fd73d7..ff373cb 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -907,7 +907,7 @@ function get_interface_gateway_v6($interface, &$dynamic = false) {
// for dynamic interfaces we handle them through the $interface_router file.
if (!is_ipaddrv6($gw) && !is_ipaddrv6($gwcfg['ipaddrv6'])) {
- $realif = get_real_interface($interface);
+ $realif = get_real_interface($interface, "inet6");
if (file_exists("{$g['tmp_path']}/{$realif}_routerv6")) {
$gw = trim(file_get_contents("{$g['tmp_path']}/{$realif}_routerv6"), " \n");
$dynamic = true;
OpenPOWER on IntegriCloud