Permalink
Browse files

newdevice: Zyxel ZyWALL Improvement #5185

  • Loading branch information...
Rosiak authored and laf committed Dec 22, 2016
1 parent d4311d0 commit e49498b689539d498baf8871c58157721fc63a0e
Showing with 4 additions and 1 deletion.
  1. +1 −1 includes/discovery/os/zywall.inc.php
  2. +1 −0 tests/OSDiscoveryTest.php
  3. +2 −0 tests/snmpsim/zywall1.snmprec
@@ -4,6 +4,6 @@
$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';
}
@@ -1460,6 +1460,7 @@ public function testZynos()
public function testZywall()
{
$this->checkOS('zywall');
$this->checkOS('zywall', 'zywall1');
}
public function testZyxelnwa()
@@ -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

0 comments on commit e49498b

Please sign in to comment.