mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Ensure the checks for ASA context devices are strict (#9441)
This commit is contained in:
@@ -138,7 +138,7 @@ if (!empty($entity_oids)) {
|
||||
$valid_sensor = false;
|
||||
}
|
||||
}
|
||||
if ($current == '-127' || ($device['os'] == 'asa' && str_contains($device['hardware'], 'sc'))) {
|
||||
if ($current == '-127' || ($device['os'] == 'asa' && ends_with($device['hardware'], 'sc'))) {
|
||||
$valid_sensor = false;
|
||||
}
|
||||
// Check for valid sensors
|
||||
|
Reference in New Issue
Block a user