mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Fix "!" following log level
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6167 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3156e2f3d2
commit
3c15fdabdd
@ -505,6 +505,7 @@ sub validate_level( $ ) {
|
||||
my $level = $_[0];
|
||||
|
||||
if ( defined $level && $level ne '' ) {
|
||||
$level =~ s/!$//;
|
||||
my $value = $validlevels{$level};
|
||||
return $value if defined $value;
|
||||
return $level if $level =~ /^[0-7]$/;
|
||||
|
Loading…
Reference in New Issue
Block a user