Don't use ':' as a join character in contatenated macro ACTION expansion.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-11-19 12:58:29 -08:00
parent 47791add99
commit 0d8931e49f
3 changed files with 4 additions and 4 deletions

View File

@ -10,4 +10,4 @@
# PORT(S) PORT(S) LIMIT GROUP
FORMAT 2
LOG&
LOG:&

View File

@ -10,4 +10,4 @@
# PORT(S) PORT(S) LIMIT GROUP
FORMAT 2
LOG&
LOG:&

View File

@ -1590,9 +1590,9 @@ sub process_macro ($$$$$$$$$$$$$$$$$$$) {
if ( $mtarget =~ s/&$// ) {
if ( supplied $param ) {
$mtarget = "$mtarget:$macro($param)";
$mtarget = "${mtarget}${macro}($param)";
} else {
$mtarget = "$mtarget:$macro";
$mtarget = "${mtarget}${macro}";
}
}