diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-12-27 12:02:35 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-12-27 12:02:35 -0200 |
commit | ee574a9e332bb0468865cfd4d2cf202fb4c4bc3e (patch) | |
tree | 972045929da456b6b70a7cfbf37668b88def741f /etc/inc/gwlb.inc | |
parent | 63fee5762d0ae0a1698713497c022dc06c0ab3c8 (diff) | |
download | pfsense-ee574a9e332bb0468865cfd4d2cf202fb4c4bc3e.zip pfsense-ee574a9e332bb0468865cfd4d2cf202fb4c4bc3e.tar.gz |
Fix a bug introduced in commit 06b8d43c that breaks return_gateways_array() called with $disabled == false
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! */ |