mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#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…
x
Reference in New Issue
Block a user