From fb0ecb7a1dfcc71c0c2da2d165d00a4663da9984 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Tue, 21 Jun 2016 17:23:29 -0500 Subject: Fix style --- src/etc/inc/interfaces.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/etc/inc') 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 { -- cgit v1.1