From 4aec31b1ac1111a0d1c7bbc91107d3f0ed664b18 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 1 May 2007 21:23:21 +0000 Subject: [PATCH] Fix port 0 in macro invocation git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6183 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Macros.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Macros.pm b/Shorewall-perl/Shorewall/Macros.pm index 8ab5cf35f..4e806732d 100644 --- a/Shorewall-perl/Shorewall/Macros.pm +++ b/Shorewall-perl/Shorewall/Macros.pm @@ -112,7 +112,7 @@ sub merge_macro_source_dest( $$ ) { sub merge_macro_column( $$ ) { my ( $body, $invocation ) = @_; - if ( $invocation ) { + if ( defined $invocation and $invocation ne '' ) { return ( $body || '') if $invocation eq '-'; $invocation || ''; } else {