From abffe948a5efa1218b39e95b61ab19421d217ee1 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Wed, 4 Dec 2024 21:15:18 -0600 Subject: [PATCH] Missed snmp.inc.php --- includes/snmp.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/snmp.inc.php b/includes/snmp.inc.php index 1fffc5035f43..0f98bea46bd1 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -682,7 +682,7 @@ function snmp_translate($oid, $mib = 'ALL', $mibdir = null, $options = null, $de $measure = Measurement::start('snmptranslate'); $cmd = [Config::get('snmptranslate', 'snmptranslate'), '-M', mibdir($mibdir, $device), '-m', $mib]; - if (Oid::of($oid)->isNumeric()) { + if (Oid::isNumeric($oid)) { $default_options = ['-Os', '-Pu']; } else { if ($mib != 'ALL' && ! Str::contains($oid, '::')) {