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:24:50 +0000
commit4ac9cdf2ce8a26661687259ba27f7624390b346e (patch)
tree5630de3099f4bf94946e8266f9b6f52da1a89d92 /etc
parent0fea70004e5878e51219f42b5b5274448a1f7533 (diff)
downloadpfsense-4ac9cdf2ce8a26661687259ba27f7624390b346e.zip
pfsense-4ac9cdf2ce8a26661687259ba27f7624390b346e.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 3ee2590..79bf71d 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -390,7 +390,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