Enhance Brocade Fabric OS Support

#3708

Also remove duplicate code.
This commit is contained in:
Rosiak
2016-06-23 17:52:03 +02:00
parent 53fa8d52a7
commit a33bf6aed4
+1 -5
View File
@@ -1,11 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.1.1.1')) {
$os = 'fabos';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.1.1.1')) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.1.1.1') || strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.1.1.43')) {
$os = 'fabos';
}
}