mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Correct SAVE_IPSETS logic in Config.pm
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ce1c367d1d
commit
3174454300
@ -5573,8 +5573,8 @@ sub get_configuration( $$$$$ ) {
|
||||
|
||||
unless (default_yes_no 'SAVE_IPSETS', '', '*' ) {
|
||||
$val = $config{SAVE_IPSETS};
|
||||
unless ( $val = 'ipv4' ) {
|
||||
my @sets = (split_list( $val= $config{SAVE_IPSETS}, 'ipset' ));
|
||||
unless ( $val eq 'ipv4' ) {
|
||||
my @sets = split_list( $val , 'ipset' );
|
||||
$globals{SAVED_IPSETS} = \@sets;
|
||||
require_capability 'IPSET_V5', 'A saved ipset list', 's';
|
||||
$config{SAVE_IPSETS} = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user