mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Cleaner code in expand_variables()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
96102623ee
commit
602ecad712
@ -3259,9 +3259,9 @@ sub expand_variables( \$ ) {
|
|||||||
fatal_error "Variable Expansion Loop" if ++$count > 100;
|
fatal_error "Variable Expansion Loop" if ++$count > 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $actparms{0} ) {
|
if ( $chain ) {
|
||||||
#
|
#
|
||||||
# Allow escaping at signs (@) for u32
|
# We're in an action body -- allow escaping at signs (@) for u32
|
||||||
#
|
#
|
||||||
$$lineref =~ s/\\@/??/g;
|
$$lineref =~ s/\\@/??/g;
|
||||||
# $1 $2 $3 - $4
|
# $1 $2 $3 - $4
|
||||||
|
Loading…
Reference in New Issue
Block a user