Skip to content

Commit f103946

Browse files
authored
Fix ports undefined variable (librenms#18408)
1 parent b000878 commit f103946

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/polling/ports.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@
381381
'rlPethPsePortOutputPower',
382382
];
383383

384+
$port_stats_temp = [];
384385
foreach ($linksys_poe_oids as $oid) {
385386
$port_stats_temp = snmpwalk_cache_oid($device, $oid, $port_stats_temp, 'LINKSYS-POE-MIB:POWER-ETHERNET-MIB');
386387
}

0 commit comments

Comments
 (0)