mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
Fix exclusion in blacklist
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bd8bcabdf0
commit
15fbbdaac7
@ -301,7 +301,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