Fix port 0 in macro invocation

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6183 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-01 21:23:21 +00:00
parent 58678ec18f
commit 4aec31b1ac

View File

@ -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 {