loop: max loops was sometimes not set
This commit is contained in:
parent
fb4690ab43
commit
e9395d6a79
@ -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