diff --git a/includes/definitions/prestige.yaml b/includes/definitions/prestige.yaml index 6e3cd96b70..0e2da4029c 100644 --- a/includes/definitions/prestige.yaml +++ b/includes/definitions/prestige.yaml @@ -6,4 +6,4 @@ icon: zyxel discovery: - sysDescr_regex: - '/^Prestige/' - - '/P-.*-/' + - '/^P-.*-/' diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index 7620d0abfb..897201e792 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -1450,6 +1450,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase $this->checkOS('vrp', 'vrp1'); $this->checkOS('vrp', 'vrp2'); $this->checkOS('vrp', 'vrp3'); + $this->checkOS('vrp', 'vrp4'); } public function testVyatta() diff --git a/tests/snmpsim/vrp4.snmprec b/tests/snmpsim/vrp4.snmprec new file mode 100644 index 0000000000..a86585c87f --- /dev/null +++ b/tests/snmpsim/vrp4.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.2011.2.23.114 +1.3.6.1.2.1.1.1.0|4|S2700-9TP-EI-AC Huawei Versatile Routing Platform Software VRP (R) software,Version 5.70 (S2700 V100R006C05) Copyright (C) 2003-2013 Huawei Technologies Co., Ltd.