mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
make procurve dicovery case insensitive
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
if (str_contains($sysDescr, array('ProCurve', 'HP 1820'))) {
|
||||
if (str_contains($sysDescr, array('ProCurve', 'HP 1820'), true)) {
|
||||
$os = 'procurve';
|
||||
} elseif (preg_match('/eCos-[0-9.]+/', $sysDescr)) {
|
||||
$os = 'procurve';
|
||||
|
Reference in New Issue
Block a user