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:58 -0500 |
commit | fb0ecb7a1dfcc71c0c2da2d165d00a4663da9984 (patch) | |
tree | c94c3a59f403a51ed46af8612658b37685ba17a4 /src/etc/inc | |
parent | e08b45e44fddb2d2c0df9060381dc9bd16ec8397 (diff) | |
download | pfsense-fb0ecb7a1dfcc71c0c2da2d165d00a4663da9984.zip pfsense-fb0ecb7a1dfcc71c0c2da2d165d00a4663da9984.tar.gz |
Fix style
Diffstat (limited to 'src/etc/inc')
-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 861eeac..c5d030f 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -5067,12 +5067,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 { |