Another scrutinizer fix

This commit is contained in:
Paul Gear
2015-06-16 09:01:13 +10:00
parent 0eb3e69167
commit 884b98e250

View File

@@ -824,7 +824,8 @@ function snmp_mib_parse($oid, $mib, $module, $mibdir = null)
{
global $debug;
$lastpart = end(explode(".", $oid));
$fulloid = explode(".", $oid);
$lastpart = end($fulloid);
$cmd = "snmptranslate -Td -On";
$cmd .= mibdir($mibdir);