diff options
Diffstat (limited to 'etc/inc/gwlb.inc')
-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 55a2027..8a9fe85 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -388,7 +388,7 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive $wancfg = $config['interfaces'][$gateway['interface']]; /* skip disabled interfaces */ - if ($disabled === false && (!isset($wancfg['enable']) || !isset($gateway['disabled']))) + if ($disabled === false && (!isset($wancfg['enable']) || isset($gateway['disabled']))) continue; /* if the gateway is dynamic and we can find the IPv4, Great! */ |