This commit is contained in:
Quentin Garnier 2014-08-25 11:00:12 +02:00
parent c9ac00b209
commit 95b109a444
1 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@ sub get_multiple_table {
# It's for "bulk". We ask 50 next values. If you set 1, it's like a getnext (snmp v1)
my $repeat_count = 50;
if (defined($self->{maxrepetitions}) &&
$self->{maxrepetitions} =~ /^d+$/) {
$self->{maxrepetitions} =~ /^\d+$/) {
$repeat_count = $self->{maxrepetitions};
}
@ -481,7 +481,7 @@ sub get_table {
# It's for "bulk". We ask 50 next values. If you set 1, it's like a getnext (snmp v1)
my $repeat_count = 50;
if (defined($self->{maxrepetitions}) &&
$self->{maxrepetitions} =~ /^d+$/) {
$self->{maxrepetitions} =~ /^\d+$/) {
$repeat_count = $self->{maxrepetitions};
}
@ -825,7 +825,7 @@ Set the number of retries (default: 5) before failure.
=item B<--maxrepetitions>
Max repititions value (default: 50) (only for SNMP v2 and v3).
Max repetitions value (default: 50) (only for SNMP v2 and v3).
=item B<--subsetleef>