src: style sweep

This commit is contained in:
Franco Fichtner 2023-05-24 10:45:02 +02:00
parent c586bdb1a5
commit 95315b5ee2

View File

@ -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']])) {