Ensure that %origin is populated

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-01-26 16:31:04 -08:00
parent e756820ca1
commit 3860a1dc72

View File

@ -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' , '';