summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-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 e61d8da..012b288 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -379,7 +379,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
$wancfg = $config['interfaces'][$gateway['interface']];
/* skip disabled interfaces */
- if (!isset($wancfg['enable']))
+ if ($disabled === false && !isset($wancfg['enable']))
continue;
/* if the gateway is dynamic and we can find the IPv4, Great! */
OpenPOWER on IntegriCloud