Merge pull request #3576 from Exa-Omicron/master

Enabling "Random access" lookups fixes "MIB: Could not find all::enterprises.xxx" error
This commit is contained in:
Neil Lathwood
2016-06-27 11:04:03 +01:00
committed by GitHub
+1 -1
View File
@@ -1001,7 +1001,7 @@ function snmp_translate($oid, $module, $mibdir = null)
}
$cmd = 'snmptranslate'.mibdir($mibdir);
$cmd .= " -m $module $oid";
$cmd .= " -IR -m $module $oid";
// load all the MIBs looking for our object
$cmd .= ' 2>/dev/null';
// ignore invalid MIBs