forked from extern/shorewall_code
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{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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user