fix: netonix version display (#4672)

This commit is contained in:
Tony Murray
2016-09-29 14:25:27 -05:00
committed by GitHub
parent aa7a504082
commit e17c34bb79

View File

@@ -23,7 +23,6 @@
* @author Tony Murray <murraytony@gmail.com>
*/
//NETONIX-SWITCH-MIB::firmwareVersion.0
$version = snmp_get($device, '.1.3.6.1.4.1.46242.1.0', '-OQva');
$version = snmp_get($device, 'firmwareVersion.0', '-OQva', 'NETONIX-SWITCH-MIB', 'netonix');
$version = str_replace('.n.........', '', $version); // version display bug in 1.3.9
$hardware = $poll_device['sysDescr'];