Revize fd306ff5
Přidáno uživatelem Ondřej Fibich před asi 5 roky(ů)
application/libraries/snmp/Linux_Snmp.php | ||
---|---|---|
|
||
if (preg_match('/STRING: "?(.*)"?/', $row, $matches) > 0)
|
||
{
|
||
return text::starts_with($matches[1], 'Linux');
|
||
return text::starts_with($matches[1], 'Linux') ||
|
||
text::starts_with($matches[1], 'S6720'); // Huawei switch
|
||
}
|
||
else
|
||
{
|
Také k dispozici: Unified diff
Issue #1120: Support for SNMP control of Huawei switches S6720 which are based on Linux