summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-02 21:24:50 +0000
committerErmal <eri@pfsense.org>2011-08-02 21:25:30 +0000
commite9df45f07460631a3816e932b68843615a8f682b (patch)
treeb5872a4afd5316419d5658a3049715c25601ea1c /etc
parente56a730636d36714b29fdec9947f4b8d0f2ff443 (diff)
downloadpfsense-e9df45f07460631a3816e932b68843615a8f682b.zip
pfsense-e9df45f07460631a3816e932b68843615a8f682b.tar.gz
Oops fix variable name
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 172271d..e6232f1 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -395,7 +395,7 @@ function return_gateway_groups_array() {
}
/* Keep a record of the last up gateway */
/* XXX: Blacklist lan for now since it might cause issues to those who have a gateway set for it */
- if (empty($upgw) && (isset($gwsttng['monitor_disable']) || !stristr($gateways_status[$gwname]['status'], "down")) && $gateways_status[$gwname]['friendlyiface'] != "lan")
+ if (empty($upgw) && (isset($gwsttng['monitor_disable']) || !stristr($gateways_status[$gwname]['status'], "down")) && $gwsttng[$gwname]['friendlyiface'] != "lan")
$upgw = $gwname;
if ($dfltgwdown == true && !empty($upgw))
break;
OpenPOWER on IntegriCloud