diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-06-21 17:23:29 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-06-21 17:23:44 -0500 |
commit | 55a72d312aae1dce2f3130733a5d9ffbb6cb4691 (patch) | |
tree | 5fadbb83b79841d68ac4229f4964326f84ca0e2e /src | |
parent | e4f7da855335bce7d257e5533b22c1cbd28f9d51 (diff) | |
download | pfsense-55a72d312aae1dce2f3130733a5d9ffbb6cb4691.zip pfsense-55a72d312aae1dce2f3130733a5d9ffbb6cb4691.tar.gz |
Fix style
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/interfaces.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index d7596b3..ad3050c 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -5065,12 +5065,14 @@ function link_interface_to_vips($int, $action = "", $vhid = '') { if (is_array($config['virtualip']['vip'])) { $result = array(); foreach ($config['virtualip']['vip'] as $vip) { - if (substr($vip['interface'], 0, 4) == "_vip") + if (substr($vip['interface'], 0, 4) == "_vip") { $iface = get_configured_vip_interface($vip['interface']); - else + } else { $iface = $vip['interface']; - if ($int != $iface) + } + if ($int != $iface) { continue; + } if ($action == "update") { interfaces_vips_configure($int); } else { |