Fix for LOGMARK(<list>)

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-07-20 17:33:31 -07:00
parent a7ab53e135
commit 705ffbca49

View File

@ -2149,7 +2149,7 @@ sub validate_level( $ ) {
if ( $1 ) {
$sublevel = $validlevels{$sublevel} unless $sublevel =~ /^[0-7]$/;
level_error( $level ) unless defined $sublevel =~ /^[0-7]$/;
level_error( $level ) unless defined $sublevel && $sublevel =~ /^[0-7]$/;
} else {
$sublevel = 6; # info
}