fix: unifi switch detection (#5407)

add unit test
This commit is contained in:
Tony Murray
2017-01-12 09:33:20 -06:00
committed by GitHub
parent c5a3d82040
commit 994858701d
3 changed files with 9 additions and 1 deletions

View File

@@ -519,6 +519,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('edgeswitch');
$this->checkOS('edgeswitch', 'edgeswitch-ep-s16');
$this->checkOS('edgeswitch', 'edgeswitch-es-24-250w');
$this->checkOS('edgeswitch', 'unifiswitch');
}
public function testEndian()

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|USW-24P-250, 3.7.17.5220, Linux 3.6.5
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.4413