diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 85a546938..976009fb6 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -1394,7 +1394,7 @@ sub generate_source_rules( $$$;@ ) { my ( $outchainref, $z1, $z2, @matches ) = @_; my $chain = rules_target ( $z1, $z2 ); - if ( $chain ) { + if ( $chain && $chain ne 'NONE' ) { # # Not a CONTINUE policy with no rules #