#10157 Fix max_interfaces

This commit is contained in:
Daniel Maya 2023-04-28 10:51:21 +02:00
parent 44ffd0f75b
commit 77b5b7af45
1 changed files with 1 additions and 1 deletions

View File

@ -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'};