Cleaner code in expand_variables()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-08-20 11:25:49 -07:00
parent 96102623ee
commit 602ecad712

View File

@ -3259,9 +3259,9 @@ sub expand_variables( \$ ) {
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;
# $1 $2 $3 - $4