mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
src: whitespace sweep
This commit is contained in:
parent
846353ecf6
commit
01b31af6d2
@ -40,4 +40,4 @@ class QueryFilter
|
||||
{
|
||||
return preg_replace("/[^0-9,a-z,A-Z, ,*,-]/", "", $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None):
|
||||
|
||||
if file_byte_start == 0:
|
||||
break
|
||||
|
||||
|
||||
|
||||
@ -47,4 +47,3 @@ def updateParams(parameters):
|
||||
if cmd in parameters and arg.strip() != '':
|
||||
parameters[cmd] = arg.strip()
|
||||
cmd=None
|
||||
|
||||
|
||||
@ -239,4 +239,3 @@ class RuleCache(object):
|
||||
result.append(record[0])
|
||||
|
||||
return sorted(result)
|
||||
|
||||
|
||||
@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos):
|
||||
break
|
||||
|
||||
# output results
|
||||
print(ujson.dumps(result))
|
||||
print(ujson.dumps(result))
|
||||
|
||||
@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status
|
||||
parameters:
|
||||
type:script_output
|
||||
message:get suricata daemon status
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user