fix: Quanta blade switches are now being correctly detected as Quanta switches (#4358)

* Quanta blade switches are now being correcly detected as Quanta switches

* Fixed syntax error
This commit is contained in:
stokbaek
2016-09-06 17:41:25 +01:00
committed by Neil Lathwood
parent 3691928455
commit 7b923ae307
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') && (stristr($sysDescr, 'vxworks') || stristr($sysDescr, 'Quanta'))) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') || strstr($sysObjectId, '.1.3.6.1.4.1.7244') && (stristr($sysDescr, 'vxworks') || stristr($sysDescr, 'Quanta'))) {
$os = 'quanta';
}
}