forked from extern/shorewall_code
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:
parent
47791add99
commit
0d8931e49f
@ -10,4 +10,4 @@
|
|||||||
# PORT(S) PORT(S) LIMIT GROUP
|
# PORT(S) PORT(S) LIMIT GROUP
|
||||||
|
|
||||||
FORMAT 2
|
FORMAT 2
|
||||||
LOG&
|
LOG:&
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
# PORT(S) PORT(S) LIMIT GROUP
|
# PORT(S) PORT(S) LIMIT GROUP
|
||||||
|
|
||||||
FORMAT 2
|
FORMAT 2
|
||||||
LOG&
|
LOG:&
|
||||||
|
@ -1590,9 +1590,9 @@ sub process_macro ($$$$$$$$$$$$$$$$$$$) {
|
|||||||
|
|
||||||
if ( $mtarget =~ s/&$// ) {
|
if ( $mtarget =~ s/&$// ) {
|
||||||
if ( supplied $param ) {
|
if ( supplied $param ) {
|
||||||
$mtarget = "$mtarget:$macro($param)";
|
$mtarget = "${mtarget}${macro}($param)";
|
||||||
} else {
|
} else {
|
||||||
$mtarget = "$mtarget:$macro";
|
$mtarget = "${mtarget}${macro}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user