diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index a44d0de13..7781fd13f 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -551,7 +551,7 @@ our %tccmd; assert ( $cmd eq 'INLINE' ); $matches = get_inline_matches; - if ( $matches =~ /^(.*\s+)-j\s+(.+)$/ ) { + if ( $matches =~ /^(.*\s+)-j\s+(.+) $/ ) { $matches = $1; $target = $2; } else {