forked from extern/shorewall_code
Fix exclusion in blacklist
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
68165acd20
commit
cc0b0f3244
@ -294,7 +294,7 @@ sub setup_blacklist() {
|
|||||||
my $target = source_exclusion( $hostref->[3], $chainref );
|
my $target = source_exclusion( $hostref->[3], $chainref );
|
||||||
|
|
||||||
for my $chain ( first_chains $interface ) {
|
for my $chain ( first_chains $interface ) {
|
||||||
add_jump $filter_table->{$chain} , $chainref, 0, "${source}${state}${policy}";
|
add_jump $filter_table->{$chain} , $target, 0, "${source}${state}${policy}";
|
||||||
}
|
}
|
||||||
|
|
||||||
set_interface_option $interface, 'use_input_chain', 1;
|
set_interface_option $interface, 'use_input_chain', 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user