Fix bug with < 3 zones, one or more of them complex

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8303 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-03-17 22:49:43 +00:00
parent aead0c60e5
commit 3bc1c7f188

View File

@ -1524,7 +1524,7 @@ sub generate_matrix() {
for my $zone ( @zones ) {
my $zoneref = find_zone( $zone );
next if @zones <= 2 && ! $zoneref->{complex};
next if @zones <= 2 && ! $zoneref->{options}{complex};
my $exclusions = $zoneref->{exclusions};
my $frwd_ref = new_standard_chain zone_forward_chain( $zone );