device: More succinct hardware description for Netonix (#6863)

This commit is contained in:
Tony Murray
2017-06-23 16:12:44 -05:00
committed by Neil Lathwood
parent fb548a9732
commit e40a7d7767

View File

@@ -25,4 +25,4 @@
$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'];
$hardware = str_replace('Netonix ', '', $poll_device['sysDescr']);