Skip to content

Commit

Permalink
Convert to be eaiser to read again later
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Dubrunfaut authored and Lucie Dubrunfaut committed Jan 12, 2024
1 parent 21a546c commit 3373266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/aruba/instant/snmp/mode/apusage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ sub manage_selection {
my $ap_ipaddress = $snmp_result->{$oid_aiClientAPIPAddress}->{$oid};
if (defined($link_ap->{$ap_ipaddress})) {
$link_ap->{$ap_ipaddress}->{clients}++;
} elsif (scalar(keys %{$snmp_result->{$oid_aiAccessPointEntry}}) == 0) { # default "AP" is only handled when no AP is identified (see above)
} elsif (defined($self->{ap}->{default})) { # default "AP" is only handled when no AP is identified (see above)
$self->{ap}->{default}->{clients}++;
}
}
Expand Down

0 comments on commit 3373266

Please sign in to comment.