diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 76f1361e3..a4b4239f8 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -1620,7 +1620,7 @@ sub merge_inline_source_dest( $$ ) { my ( $body, $invocation ) = @_; if ( $invocation ) { - if ( $body ) { + if ( supplied $body && $body ne '-' ) { return $body if $invocation eq '-'; if ( $family == F_IPV4 ) {