mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
interfaces: non functional (minor) style fix
This commit is contained in:
parent
dda072edda
commit
2ee04640a7
@ -443,14 +443,11 @@ function configure_interface_hardware($ifs)
|
||||
|
||||
function legacy_get_interface_addresses($ifs, $ifconfig_details = null)
|
||||
{
|
||||
$intf_details = array();
|
||||
if (empty($ifconfig_details)) {
|
||||
$intf_details = legacy_interface_details($ifs);
|
||||
} else {
|
||||
if (!empty($ifconfig_details[$ifs])) {
|
||||
$intf_details = $ifconfig_details[$ifs];
|
||||
} else {
|
||||
$intf_details = array();
|
||||
}
|
||||
} else if (!empty($ifconfig_details[$ifs])) {
|
||||
$intf_details = $ifconfig_details[$ifs];
|
||||
}
|
||||
|
||||
$addrs = array("macaddr" => $intf_details['macaddr']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user