mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 11:20:53 +01:00
Fix REDIRECT all
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6237 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c35b2ff458
commit
caf7d528be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user