Include trailing space in a regular expression.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-03 08:36:38 -07:00
parent 80efd095a8
commit b83ca4812b

View File

@ -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 {