Skip to content

Commit

Permalink
Merge pull request #3919 from crcro/tplink-updates
Browse files Browse the repository at this point in the history
tplink switch enhancement
  • Loading branch information
laf committed Aug 1, 2016
2 parents 1fe3346 + e1211d6 commit bcbfda0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file modified html/images/os/tplink.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions includes/polling/os/tplink.inc.php
@@ -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'), '"');

0 comments on commit bcbfda0

Please sign in to comment.