Skip to content

Commit

Permalink
Merge pull request #340 from elbuit/issue-338
Browse files Browse the repository at this point in the history
 Alcatel-Lucent OmniSwich (Aruba rebranded) is detected like AOS device ...
  • Loading branch information
laf committed Nov 3, 2014
2 parents d780fc0 + eefb5eb commit 30256d6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion includes/discovery/os/alcatel-lucent.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 30256d6

Please sign in to comment.