mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Fixes #2098
This commit is contained in:
@@ -318,7 +318,7 @@ foreach ($ports as $port) {
|
||||
foreach ($data_oids as $oid) {
|
||||
|
||||
if ($oid == 'ifAlias') {
|
||||
if (get_dev_attrib($device, 'ifName', $port['ifName'])) {
|
||||
if (get_dev_attrib($device, 'ifName:'.$port['ifName'], 1)) {
|
||||
$this_port['ifAlias'] = $port['ifAlias'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user