diff options
author | kkr0kk <35397392+kkr0kk@users.noreply.github.com> | 2019-01-12 14:42:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-12 14:42:47 +0100 |
commit | 58d009bc41137e77d799e53a8ce8c02215274eac (patch) | |
tree | e0759ab8e17b7bcd671c845b8939d23339dc50b1 /src | |
parent | 67dd34a0996c14fdfeb1823e07fb3c82748d3794 (diff) | |
download | pfsense-58d009bc41137e77d799e53a8ce8c02215274eac.zip pfsense-58d009bc41137e77d799e53a8ce8c02215274eac.tar.gz |
Update gwlb.inc
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/gwlb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index 29d4782..6bbb03d 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -1109,7 +1109,7 @@ function fixup_default_gateway($ipprotocol, $gateways_status, $gateways_arr) { $currentdefaultgwip = getcurrentdefaultgatewayip($ipprotocol); $found_current = false; foreach($gwg_members as $gwgroupitem) { - if (!empty($currentdefaultgwip) AND $gwgroupitem['gwip'] == $currentdefaultgwip) { + if (!empty($currentdefaultgwip) && ($gwgroupitem['gwip'] == $currentdefaultgwip)) { $set_dfltgwname = $gwgroupitem['gw']; $found_current = true; if (isset($config['system']['gw-debug'])) { |