mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
remove duplicate code in interfaces.inc
This commit is contained in:
parent
87011debbf
commit
5c6a2ef883
@ -1950,10 +1950,6 @@ function interface_ipalias_configure(&$vip)
|
||||
return;
|
||||
}
|
||||
|
||||
if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']])) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]['enable'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user