newdevice: Zyxel ZyWALL Improvement #5185

This commit is contained in:
Søren Rosiak
2016-12-22 12:55:27 +02:00
committed by Neil Lathwood
parent d4311d0e54
commit e49498b689
3 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,6 @@ if (starts_with($sysDescr, 'ZyWALL 2X')) {
$os = 'zywall';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.890.1.15')) {
if (starts_with($sysObjectId, array('.1.3.6.1.4.1.890.1.6', '.1.3.6.1.4.1.890.1.15'))) {
$os = 'zywall';
}

View File

@ -1460,6 +1460,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
public function testZywall()
{
$this->checkOS('zywall');
$this->checkOS('zywall', 'zywall1');
}
public function testZyxelnwa()

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|ZyWALL USG 300
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.890.1.6