mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 08:29:28 +01:00
Avoid internal error when there are no 'to' entries
This commit is contained in:
parent
bb38ed16b0
commit
82bccf16b5
@ -214,7 +214,7 @@ sub add_rule_pair( $$$$ ) {
|
||||
sub setup_blacklist() {
|
||||
|
||||
my $hosts = find_hosts_by_option1 'blacklist', BL_IN;
|
||||
my $hosts1 = find_hosts_by_option1 'blacklist', BL_OUT;
|
||||
my $hosts1 = find_hosts_by_option1 'blacklist', BL_IN | BL_OUT;
|
||||
my $chainref;
|
||||
my $chainref1;
|
||||
my ( $level, $disposition ) = @config{'BLACKLIST_LOGLEVEL', 'BLACKLIST_DISPOSITION' };
|
||||
|
Loading…
Reference in New Issue
Block a user