mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
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:
parent
140dd95130
commit
c32ee9a18c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user