mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Also substute the chain name for '@0'.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
15121e0743
commit
e1524763ad
@ -4654,7 +4654,7 @@ sub do_condition( $$ ) {
|
||||
|
||||
require_capability 'CONDITION_MATCH', 'A non-empty SWITCH column', 's';
|
||||
|
||||
$chain =~ s/[^\w-]//g;
|
||||
$chain =~ s/[^\w-]//g;
|
||||
# $1 $2 - $3
|
||||
while ( $condition =~ m( ^(.*?) @({)?0(?(2)}) (.*)$ )x ) {
|
||||
$condition = join( '', $1, $chain, $3 );
|
||||
|
Loading…
Reference in New Issue
Block a user