mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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