Merge pull request #340 from elbuit/issue-338

Alcatel-Lucent OmniSwich (Aruba rebranded) is detected like AOS device ...
This commit is contained in:
Neil Lathwood
2014-11-03 16:29:51 +00:00
+9 -1
View File
@@ -4,7 +4,15 @@
if (!$os)
{
if (strpos($sysObjectId, ".1.3.6.1.4.1.6486.800") !== FALSE) { $os = "aos"; }
if (strpos($sysObjectId, ".1.3.6.1.4.1.6486.800") !== FALSE) {
if (strstr($sysDescr, "AOS-W")) {
$os = "arubaos";
}
else {
$os = "aos";
}
}
if (strpos($sysObjectId, ".1.3.6.1.4.1.6527.1.3") !== FALSE) { $os = "timos"; }
// FIXME: make these less specific.