mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix style
This commit is contained in:
parent
e08b45e44f
commit
fb0ecb7a1d
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user