From 45da3778971f051211fb36e871c6d3844341b91a Mon Sep 17 00:00:00 2001 From: Jared Johnson Date: Thu, 11 Dec 2014 15:12:17 -0600 Subject: [PATCH] Fix variable name in ident/p0f that caused a crash --- plugins/ident/p0f | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ident/p0f b/plugins/ident/p0f index cd75e47..13a7feb 100644 --- a/plugins/ident/p0f +++ b/plugins/ident/p0f @@ -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 {