forked from extern/shorewall_code
Trivial optimiation in validate_level()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
28a1087cd4
commit
afaf0d9de8
@ -2198,11 +2198,11 @@ sub validate_level( $ ) {
|
||||
#
|
||||
# Must be LOGMARK
|
||||
#
|
||||
return $rawlevel if $qualifier =~ /^ --/;
|
||||
|
||||
my $sublevel;
|
||||
|
||||
if ( supplied $qualifier ) {
|
||||
return $rawlevel if $qualifier =~ /^ --/;
|
||||
|
||||
if ( $qualifier =~ /[(](.+)[)]?$/ ) {
|
||||
$sublevel = $1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user