diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index eb3412687..74b577fa3 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -303,7 +303,7 @@ sub setup_blacklist() { my $target = source_exclusion( $hostref->[3], $chainref ); 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;