Make discovery ignore Dell branded Aruba Wifi Controllers. Dell PowerConnect W-3200 controllers have the strings ArubaOS and PowerConnect in their sysDescr and powerconnect.inc.php will overwrite the Aruba OS detection.

This commit is contained in:
Falk Stern 2015-10-07 16:12:48 +02:00
parent 65eb375e01
commit 661ed67372

View File

@ -2,7 +2,7 @@
if (!$os) {
// if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
if (stristr($sysDescr, 'PowerConnect ')) {
if (stristr($sysDescr, 'PowerConnect ') && !stristr($sysDescr, 'ArubaOS') {
$os = 'powerconnect';
}
else if (preg_match('/Dell.*Gigabit\ Ethernet/i', $sysDescr)) {