diff options
-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']; |