mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Also update $this_port for port descr parsing
This commit is contained in:
@ -354,6 +354,7 @@ foreach ($ports as $port) {
|
||||
|
||||
if (($port['update']['ifAlias'] == '' || $port['update']['ifAlias'] == NULL) && $config['os'][$device['os']]['ifalias_null'] == 1) {
|
||||
$port['update']['ifAlias'] = $port['ifDescr'];
|
||||
$this_port['ifAlias'] = $port['ifDescr'];
|
||||
d_echo('Using ifDescr due to ifAlias being NULL');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user