diff --git a/Shorewall/Macros/macro.NFLOG b/Shorewall/Macros/macro.NFLOG index f4307a2eb..deb25c855 100644 --- a/Shorewall/Macros/macro.NFLOG +++ b/Shorewall/Macros/macro.NFLOG @@ -10,4 +10,4 @@ # PORT(S) PORT(S) LIMIT GROUP FORMAT 2 -LOG& +LOG:& diff --git a/Shorewall/Macros/macro.ULOG b/Shorewall/Macros/macro.ULOG index f082c016f..e79379755 100644 --- a/Shorewall/Macros/macro.ULOG +++ b/Shorewall/Macros/macro.ULOG @@ -10,4 +10,4 @@ # PORT(S) PORT(S) LIMIT GROUP FORMAT 2 -LOG& +LOG:& diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index a076b2164..117fef884 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -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}"; } }