Little tweak to 'all'-NONE policy fix -- take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6034 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-20 04:59:38 +00:00
parent e99a37f98d
commit 5c241dbc65

View File

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