librenms/includes/discovery/os/3com.inc.php
Tony Murray 9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00

12 lines
244 B
PHP

<?php
if (!$os) {
if (strstr($sysDescr, '3Com Switch ')) {
$os = '3com';
} elseif (strstr($sysDescr, '3Com SuperStack')) {
$os = '3com';
} elseif (strstr($sysDescr, '3Com Baseline')) {
$os = '3com';
}
}