Fix variable name in ident/p0f that caused a crash
This commit is contained in:
parent
4547677135
commit
45da377897
@ -195,7 +195,7 @@ sub register_genre_blocking {
|
||||
my ( $self ) = @_;
|
||||
my @patterns = $self->qp->config('p0f_blocked_operating_systems');
|
||||
return unless @patterns;
|
||||
for my $pattern ( @pattern ) {
|
||||
for my $pattern ( @patterns ) {
|
||||
if ( $pattern =~ /^\/(.*)\/$/ ) {
|
||||
push @{ $self->{os_block_re} }, qr/$1/;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user