diff options
author | Ermal <eri@pfsense.org> | 2013-03-26 11:08:07 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-26 11:08:07 +0000 |
commit | 2ba95a314af19fdcd195a9b883aaf13aa9684ec6 (patch) | |
tree | f10f35dee943ca6d9d80b16214ac28390cfcbc6b | |
parent | dea0921d535811d7efb82c6d3689ae6cd4f0ebd6 (diff) | |
download | pfsense-2ba95a314af19fdcd195a9b883aaf13aa9684ec6.zip pfsense-2ba95a314af19fdcd195a9b883aaf13aa9684ec6.tar.gz |
Correct check from previous code path simplification
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 800cd16..736edea 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -305,7 +305,7 @@ function return_gateways_status($byname = false) { * or are down, which could cause gateway groups to fail */ $gateways_arr = return_gateways_array(); foreach($gateways_arr as $gwitem) { - if(isset($gwitem['monitor_disable'])) + if(!isset($gwitem['monitor_disable'])) continue; if(!is_ipaddr($gwitem['monitorip'])) { $realif = $gwitem['interface']; |