#10157 Fix max_interfaces
This commit is contained in:
parent
44ffd0f75b
commit
77b5b7af45
|
@ -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'};
|
||||
|
|
Loading…
Reference in New Issue