mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-12 08:38:14 +01: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:
parent
c3299d5f89
commit
0e9c704069
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user