From dad4fb1d29413080272e364788e216353dff1cc6 Mon Sep 17 00:00:00 2001 From: Jared Johnson Date: Thu, 11 Dec 2014 16:49:49 -0600 Subject: [PATCH] Remove unnecessary // from check_genre() --- plugins/ident/p0f | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ident/p0f b/plugins/ident/p0f index 22ab995..cc2d91e 100644 --- a/plugins/ident/p0f +++ b/plugins/ident/p0f @@ -223,7 +223,7 @@ sub check_genre { return 1 if $p0f->{genre} eq $phrase; } for my $re ( @{ $self->{os_block_re} || [] } ) { - return 1 if $p0f->{genre} =~ /$re/; + return 1 if $p0f->{genre} =~ $re; } return 0; }