Another round of Macro fiddling

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6185 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-01 23:04:30 +00:00
parent e2e316c6c7
commit fcbe8768c3

View File

@ -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 || '';
}