mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 21:48:39 +01:00
Ensure that %origin is populated
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e756820ca1
commit
3860a1dc72
@ -5843,13 +5843,18 @@ sub get_configuration( $$$$ ) {
|
||||
$config{TRACK_RULES} = '';
|
||||
} else {
|
||||
default_yes_no 'TRACK_RULES' , '';
|
||||
$globals{TRACK_RULES} = '';
|
||||
}
|
||||
} else {
|
||||
default_yes_no 'TRACK_RULES' , '';
|
||||
$config{TRACK_RULES} = '';
|
||||
}
|
||||
|
||||
%origin = () unless $globals{TRACK_RULES};
|
||||
#
|
||||
# Ensure that all members of %origin have defined values
|
||||
#
|
||||
for ( keys %config ) {
|
||||
$origin{$_} ||= '';
|
||||
}
|
||||
|
||||
default_yes_no 'INLINE_MATCHES' , '';
|
||||
default_yes_no 'BASIC_FILTERS' , '';
|
||||
|
Loading…
Reference in New Issue
Block a user