Little tweak to 'all'-NONE policy fix

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6033 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-20 04:52:42 +00:00
parent ffa9d5b54e
commit e99a37f98d

View File

@ -1187,8 +1187,7 @@ sub process_rule ( $$$$$$$$$ ) {
}
}
} else {
my $destzone = $dest;
$destzone =~ s/:.*//;
( ( my $destzone ) , undef ) = split /:/, $dest;
my $policychainref = $filter_table->{"${zone}2${destzone}"}{policychain};
if ( $policychainref->{policy} ne 'NONE' ) {
process_rule1 $target, $zone, $dest , $proto, $ports, $sports, $origdest, $ratelimit, $user;