Fix incorrect precedence

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6114 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-25 15:33:15 +00:00
parent 140dd95130
commit c32ee9a18c

View File

@ -1388,7 +1388,7 @@ sub generate_matrix() {
my $in_ref = new_standard_chain "${zone}_input"; my $in_ref = new_standard_chain "${zone}_input";
my $out_ref = new_standard_chain "${zone}_output"; my $out_ref = new_standard_chain "${zone}_output";
add_rule ensure_filter_chain( "${zone}2${zone}", 1 ) , '-j ACCEPT' if rules_target $zone, $zone eq 'ACCEPT'; add_rule ensure_filter_chain( "${zone}2${zone}", 1 ) , '-j ACCEPT' if rules_target( $zone, $zone ) eq 'ACCEPT';
for my $host ( @$exclusions ) { for my $host ( @$exclusions ) {
my ( $interface, $net ) = split /:/, $host; my ( $interface, $net ) = split /:/, $host;