forked from extern/shorewall_code
Fix port 0 in macro invocation -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6184 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4aec31b1ac
commit
e2e316c6c7
@ -112,7 +112,7 @@ sub merge_macro_source_dest( $$ ) {
|
||||
sub merge_macro_column( $$ ) {
|
||||
my ( $body, $invocation ) = @_;
|
||||
|
||||
if ( defined $invocation and $invocation ne '' ) {
|
||||
if ( defined $invocation && $invocation ne '' ) {
|
||||
return ( $body || '') if $invocation eq '-';
|
||||
$invocation || '';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user