From ca3385d1be236458986fc336e74c9ee8f6dc023c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 21 Oct 2013 09:28:21 -0700 Subject: [PATCH] Remove superfluous '[' from character set. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index f8687c7b2..04bcb1d89 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -645,7 +645,7 @@ our %tccmd; unless ( $classid ) { { - if ( $cmd =~ /^([[A-Z|&]+)/ ) { + if ( $cmd =~ /^([A-Z|&]+)/ ) { if ( my $tccmd = $tccmd{$1} ) { fatal_error "Invalid $1 ACTION ($originalmark)" unless $tccmd->{match}($cmd); fatal_error "$mark not valid with :C[FPT]" if $connmark;