From caf7d528be1c7e0441274fc4751bee4ece28c7ba Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 4 May 2007 16:49:56 +0000 Subject: [PATCH] Fix REDIRECT all git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6237 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 e7a8fc2b4..ad04b97f5 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1200,7 +1200,7 @@ sub process_rule ( $$$$$$$$$$ ) { } } else { my $destzone = (split /:/, $dest)[0]; - fatal_error "Unknown destination zone ($destzone)" unless $zones{$destzone}; + $destzone = $firewall_zone unless $zones{$destzone}; # We will revalidate the destination zone in process_rule1 my $policychainref = $filter_table->{"${zone}2${destzone}"}{policychain}; if ( $intrazone || ( $zone ne $destzone ) ) { fatal_error "No policy from zone $zone to zone $destzone" unless $policychainref;