From 3bc1c7f18824ab2f72a85dc04922e5f1f645dd52 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 17 Mar 2008 22:49:43 +0000 Subject: [PATCH] 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 --- Shorewall-perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index b5cf668e1..12e4bcd21 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -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 );