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,13 +3025,8 @@ sub update_config_file( $ ) {
my $annotate = shift;
sub is_set( $ ) {
my $option = $_[0];
if ( defined $option ) {
my $value = $config{$_[0]};
defined( $value ) && lc( $value ) eq 'yes';
}
my $value = $_[0];
defined( $value ) && lc( $value ) eq 'yes';
}
my $wide = is_set $config{WIDE_TC_MARKS};