forked from extern/shorewall_code
Fix for LOGMARK(<list>)
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a7ab53e135
commit
705ffbca49
@ -2149,7 +2149,7 @@ sub validate_level( $ ) {
|
|||||||
|
|
||||||
if ( $1 ) {
|
if ( $1 ) {
|
||||||
$sublevel = $validlevels{$sublevel} unless $sublevel =~ /^[0-7]$/;
|
$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 {
|
} else {
|
||||||
$sublevel = 6; # info
|
$sublevel = 6; # info
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user