Correct default values during update

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-11-27 14:12:51 -08:00
parent 61d5c6d6da
commit 9e149ca038

View File

@ -3025,14 +3025,9 @@ sub update_config_file( $ ) {
my $annotate = shift;
sub is_set( $ ) {
my $option = $_[0];
if ( defined $option ) {
my $value = $config{$_[0]};
my $value = $_[0];
defined( $value ) && lc( $value ) eq 'yes';
}
}
my $wide = is_set $config{WIDE_TC_MARKS};
my $high = is_set $config{HIGH_ROUTE_MARKS};