mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-13 13:16:45 +02: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() {
|
sub setup_blacklist() {
|
||||||
|
|
||||||
my $hosts = find_hosts_by_option1 'blacklist', BL_IN;
|
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 $chainref;
|
||||||
my $chainref1;
|
my $chainref1;
|
||||||
my ( $level, $disposition ) = @config{'BLACKLIST_LOGLEVEL', 'BLACKLIST_DISPOSITION' };
|
my ( $level, $disposition ) = @config{'BLACKLIST_LOGLEVEL', 'BLACKLIST_DISPOSITION' };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user