From 3574d2b099639b6d988cc0cd5364d62ae31e0521 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 8 Feb 2008 19:34:28 +0000 Subject: [PATCH] Use function rather than generating name manually git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8167 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 37cc8c980..4e205d712 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1584,7 +1584,7 @@ sub generate_matrix() { my $complex = $zoneref->{options}{complex} || 0; my $type = $zoneref->{type}; my $exclusions = $zoneref->{exclusions}; - my $frwd_ref = $filter_table->{"${zone}_frwd"}; + my $frwd_ref = $filter_table->{zone_forward_chain $zone}; my $chain = 0; my $dnatref = ensure_chain 'nat' , dnat_chain( $zone ); my $nested = $zoneref->{options}{nested};