mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
resolved stp log spam for mikrotik devices
This commit is contained in:
@@ -102,7 +102,7 @@ if ($stpprotocol == 'ieee8021d' || $stpprotocol == 'unknown') {
|
||||
}
|
||||
|
||||
// Logging if designated root port changed since last db update
|
||||
if ($stp_db['rootPort'] != $stp['rootPort']) {
|
||||
if (isset($stp['rootPort']) && $stp_db['rootPort'] != $stp['rootPort']) {
|
||||
log_event('STP root port changed: '.$stp_db['rootPort'].' > '.$stp['rootPort'], $device, 'stp');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user