loop: max loops was sometimes not set
This commit is contained in:
parent
283610fb73
commit
12e7895d4c
@ -35,6 +35,7 @@ sub init {
|
||||
|
||||
if ( $self->{_max_hops} !~ /^\d+$/ ) {
|
||||
$self->log(LOGWARN, "Invalid max_hops value -- using default");
|
||||
$self->{_max_hops} = 100;
|
||||
}
|
||||
$self->log(LOGWARN, "Ignoring additional arguments") if @args > 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user