Merge pull request #3919 from crcro/tplink-updates

tplink switch enhancement
This commit is contained in:
Neil Lathwood
2016-08-01 14:58:47 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,5 +1,4 @@
<?php
preg_match('/JetStream [0-9]+-Port/', $poll_device['sysDescr'], $tmp_hardware);
$hardware = $tmp_hardware[0];
$version = trim(snmp_get($device, 'RMON-MIB::rmon.19.2.0', '-Ovq'), '"');
$hardware = trim(snmp_get($device, 'RMON-MIB::rmon.19.3.0', '-Ovq'), '"');