From 77b5b7af4511c748390a3c912e3bee047fee2ced Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Fri, 28 Apr 2023 10:51:21 +0200 Subject: [PATCH] #10157 Fix max_interfaces --- pandora_server/util/plugin/pandora_snmp_bandwidth.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/util/plugin/pandora_snmp_bandwidth.pl b/pandora_server/util/plugin/pandora_snmp_bandwidth.pl index 015bde5893..15fcf58f73 100755 --- a/pandora_server/util/plugin/pandora_snmp_bandwidth.pl +++ b/pandora_server/util/plugin/pandora_snmp_bandwidth.pl @@ -263,7 +263,7 @@ sub prepare_tree { } my $speed = 0; - if (empty($config->{'max_interfaces'}) { + if (empty($config->{'max_interfaces'})) { $speed = snmp_get(\%speed); if (ref($speed) eq "HASH") { $speed = int $speed->{'data'};