diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 4f6aeccde..74a8055ad 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -301,7 +301,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;