mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
src: style sweep
This commit is contained in:
parent
c586bdb1a5
commit
95315b5ee2
@ -3872,7 +3872,7 @@ function get_interfaces_info($include_unlinked = false)
|
||||
$ifinfo['status'] = in_array($ifinfo['if'], $ifup) ? 'up' : 'down';
|
||||
$ifinfo['statusv6'] = in_array($ifinfo['ifv6'], $ifup) ? 'up' : 'down';
|
||||
|
||||
/* undesired side effect of legacy_config_get_interfaces() */
|
||||
/* undesired side effect of legacy_config_get_interfaces() */
|
||||
$ifinfo['ipaddr'] = $ifinfo['ipaddrv6'] = null;
|
||||
|
||||
if (!empty($all_intf_details[$ifinfo['if']])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user