mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-13 00:58:14 +01:00
Correct handling of LOGMARK
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d096b9399a
commit
348c6c8cf7
@ -608,6 +608,7 @@ sub initialize( $ ) {
|
||||
PANIC => 0,
|
||||
NONE => '',
|
||||
NFLOG => 'NFLOG',
|
||||
LOGMARK => 'LOGMARK',
|
||||
);
|
||||
|
||||
#
|
||||
@ -2202,7 +2203,7 @@ sub validate_level( $ ) {
|
||||
if ( supplied $qualifier ) {
|
||||
return $rawlevel if $qualifier =~ /^ --/;
|
||||
|
||||
if ( $qualifier =~ /[(](.+)[)]?$/ ) {
|
||||
if ( $qualifier =~ /[(](.+)[)]$/ ) {
|
||||
$sublevel = $1;
|
||||
|
||||
$sublevel = $validlevels{$sublevel} unless $sublevel =~ /^[0-7]$/;
|
||||
|
Loading…
Reference in New Issue
Block a user