mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 03:31:24 +02:00
Keep hyphens in @chain
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4151f7c504
commit
cb5a2519f3
@ -3301,9 +3301,9 @@ sub push_action_params( $$$$$$ ) {
|
|||||||
$actparams{caller} = $caller;
|
$actparams{caller} = $caller;
|
||||||
$actparams{disposition} = '' if $chainref->{action};
|
$actparams{disposition} = '' if $chainref->{action};
|
||||||
#
|
#
|
||||||
# The Shorewall variable '@chain' has the non-word charaters removed
|
# The Shorewall variable '@chain' has offensive characters removed
|
||||||
#
|
#
|
||||||
( $actparams{chain} = $chainref->{name} ) =~ s/[^\w]//g;
|
( $actparams{chain} = $chainref->{name} ) =~ s/[^\w-]//g;
|
||||||
|
|
||||||
\%oldparms;
|
\%oldparms;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user