mirror of
https://gitlab.com/shorewall/code.git
synced 2025-07-15 05:45:38 +02:00
Don't scan the filter table for jumps to 'blacklst' if the 'blacklst' chain does not exist
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@ -3684,9 +3684,12 @@ sub expand_rule( $$$$$$$$$$;$ )
|
||||
# the associated interface chain
|
||||
#
|
||||
sub promote_blacklist_rules() {
|
||||
my $promoted = 1;
|
||||
my $chainbref = $filter_table->{blacklst};
|
||||
|
||||
return 1 unless $chainbref;
|
||||
|
||||
my $promoted = 1;
|
||||
|
||||
while ( $promoted ) {
|
||||
$promoted = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user