summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-18 09:26:43 +0000
committerErmal <eri@pfsense.org>2014-02-18 09:26:43 +0000
commit4b7b190b35034b2bc515e20839620e4617952906 (patch)
tree3a1bda1c1424eba68197c233a80aa62e1a25fc60 /etc
parent70b49cba96706753a7c1bc4a1166f9744a080352 (diff)
downloadpfsense-4b7b190b35034b2bc515e20839620e4617952906.zip
pfsense-4b7b190b35034b2bc515e20839620e4617952906.tar.gz
Revert "Pass the family to the get_real_interface function to retrieve the correct real interface. Might help Ticket #3357"
This reverts commit 7c77641060bc5662f75519556af5e4566078dfc6.
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 ff373cb..9fd73d7 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, "inet6");
+ $realif = get_real_interface($interface);
if (file_exists("{$g['tmp_path']}/{$realif}_routerv6")) {
$gw = trim(file_get_contents("{$g['tmp_path']}/{$realif}_routerv6"), " \n");
$dynamic = true;
OpenPOWER on IntegriCloud