mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #571 from KFleshman/issue-569
Fixed bug in includes/discovery/os/hp.inc.php
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$string)) { $os = "hp"; }
|
||||
if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$sysDescr)) { $os = "hp"; }
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user