mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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