remove duplicate code in interfaces.inc

This commit is contained in:
Ad Schellevis 2016-09-14 21:23:50 +02:00
parent 87011debbf
commit 5c6a2ef883

View File

@ -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;
}