Updated Mellanox detection to use sysObjectID

This commit is contained in:
laf
2015-07-12 19:12:04 +01:00
parent 57159cc8cd
commit e8d830498c
+1 -1
View File
@@ -1,7 +1,7 @@
<?php <?php
if (!$os) { if (!$os) {
if (stristr($sysDescr, "mellanox")) { if (strstr($sysObjectId, ".33049.1.1.1.1012")) {
$os = "mellanox"; $os = "mellanox";
} }
} }