diff --git a/Shorewall-perl/Shorewall/Macros.pm b/Shorewall-perl/Shorewall/Macros.pm index 78b89db46..627259f76 100644 --- a/Shorewall-perl/Shorewall/Macros.pm +++ b/Shorewall-perl/Shorewall/Macros.pm @@ -112,9 +112,8 @@ sub merge_macro_source_dest( $$ ) { sub merge_macro_column( $$ ) { my ( $body, $invocation ) = @_; - if ( defined $invocation && $invocation ne '' ) { - return ( $body || '') if $invocation eq '-'; - $invocation || ''; + if ( defined $invocation && $invocation ne '' && $invocation ne '-' ) { + $invocation; } else { $body || ''; }