From 4ac9cdf2ce8a26661687259ba27f7624390b346e Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 2 Aug 2011 21:24:50 +0000 Subject: Oops fix variable name --- etc/inc/gwlb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; -- cgit v1.1