forked from extern/shorewall_code
Handling of NONE policy with SOURCE=all
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6030 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
424d336ac1
commit
e2e9cb78e6
@ -1187,7 +1187,12 @@ sub process_rule ( $$$$$$$$$ ) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
process_rule1 $target, $zone, $dest , $proto, $ports, $sports, $origdest, $ratelimit, $user;
|
||||
my $destzone = $dest;
|
||||
$destzone =~ s/:.*//;
|
||||
my $policychainref = $filter_table->{"${zone}2${destzone}"}{policychain};
|
||||
if ( $policychainref->{policy} ne 'NONE' ) {
|
||||
process_rule1 $target, $zone, $dest , $proto, $ports, $sports, $origdest, $ratelimit, $user;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user