forked from extern/shorewall_code
Reload blacklistsection chains even when legacy blacklisting is used.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
29f6f6e3f2
commit
dc1f815679
@ -6023,11 +6023,9 @@ sub create_chainlist_reload($) {
|
|||||||
@chains = qw( blacklst ) if $filter_table->{blacklst};
|
@chains = qw( blacklst ) if $filter_table->{blacklst};
|
||||||
push @chains, 'blackout' if $filter_table->{blackout};
|
push @chains, 'blackout' if $filter_table->{blackout};
|
||||||
|
|
||||||
unless ( @chains ) {
|
|
||||||
for ( grep $_->{blacklistsection} && $_->{referenced}, values %{$filter_table} ) {
|
for ( grep $_->{blacklistsection} && $_->{referenced}, values %{$filter_table} ) {
|
||||||
push @chains, $_->{name} if $_->{blacklistsection};
|
push @chains, $_->{name} if $_->{blacklistsection};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
push @chains, 'mangle:' if have_capability( 'MANGLE_ENABLED' ) && $config{MANGLE_ENABLED};
|
push @chains, 'mangle:' if have_capability( 'MANGLE_ENABLED' ) && $config{MANGLE_ENABLED};
|
||||||
$chains = join( ',', @chains ) if @chains;
|
$chains = join( ',', @chains ) if @chains;
|
||||||
|
Loading…
Reference in New Issue
Block a user