From 8ef70f8bec1909dfd21ff1f2cc12e2b093203e24 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Wed, 8 Sep 2021 19:04:16 -0500 Subject: [PATCH] Fix snmp_bulk setting not being applied (#13209) --- 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 a8e3456d50..a8675cf4af 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -129,7 +129,7 @@ function gen_snmpget_cmd($device, $oids, $options = null, $mib = null, $mibdir = */ function gen_snmpwalk_cmd($device, $oids, $options = null, $mib = null, $mibdir = null, $strIndexing = null) { - if ($device['snmpver'] == 'v1' || (isset($device['os']) && Config::getOsSetting($device['os'], 'snmp_walk', true) == false)) { + if ($device['snmpver'] == 'v1' || (isset($device['os']) && Config::getOsSetting($device['os'], 'snmp_bulk', true) == false)) { $snmpcmd = [Config::get('snmpwalk')]; } else { $snmpcmd = [Config::get('snmpbulkwalk')];