mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
interfaces: style sweep
This commit is contained in:
parent
d4a65e26e1
commit
7fdc163bf2
@ -2150,13 +2150,13 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
foreach (plugins_devices() as $device) {
|
||||
if (empty($device['function']) || empty($device['names'])) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (in_array($realhwif, $device['names'])) {
|
||||
if (in_array($realhwif, $device['names'])) {
|
||||
log_msg("Device $realhwif requires reload for $interface, configuring now", LOG_ERR);
|
||||
call_user_func_array($device['function'], [$realhwif]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$ifconfig_details = legacy_interfaces_details();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user