forked from extern/shorewall_code
Include trailing space in a regular expression.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
80efd095a8
commit
b83ca4812b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user