Commit 01b31af6 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 846353ec
...@@ -40,4 +40,4 @@ class QueryFilter ...@@ -40,4 +40,4 @@ class QueryFilter
{ {
return preg_replace("/[^0-9,a-z,A-Z, ,*,-]/", "", $value); return preg_replace("/[^0-9,a-z,A-Z, ,*,-]/", "", $value);
} }
} }
\ No newline at end of file
...@@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None): ...@@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None):
if file_byte_start == 0: if file_byte_start == 0:
break break
...@@ -47,4 +47,3 @@ def updateParams(parameters): ...@@ -47,4 +47,3 @@ def updateParams(parameters):
if cmd in parameters and arg.strip() != '': if cmd in parameters and arg.strip() != '':
parameters[cmd] = arg.strip() parameters[cmd] = arg.strip()
cmd=None cmd=None
...@@ -239,4 +239,3 @@ class RuleCache(object): ...@@ -239,4 +239,3 @@ class RuleCache(object):
result.append(record[0]) result.append(record[0])
return sorted(result) return sorted(result)
...@@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos): ...@@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos):
break break
# output results # output results
print(ujson.dumps(result)) print(ujson.dumps(result))
\ No newline at end of file
...@@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status ...@@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status
parameters: parameters:
type:script_output type:script_output
message:get suricata daemon status message:get suricata daemon status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment