mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Another scrutinizer fix
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user