Remove some detection logic from Brocade NOS foo

Remove one overly-broad and one overly-narrow detection check for nos
devices.
This commit is contained in:
Eldon Koyle
2016-01-08 14:30:55 -07:00
parent d4c4f9d858
commit 5835fe6b77
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
if (!$os) {
if (strstr($sysDescr, "Brocade VDX") || strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.2.1.1.1.5') || stristr($sysDescr, 'Brocade Communications Systems')) {
if (strstr($sysDescr, "Brocade VDX")) {
$os = "nos";
}
}