Skip to content
Snippets Groups Projects
Verified Commit 98a5ec8c authored by Martin Petráček's avatar Martin Petráček
Browse files

suricata-monitor: fixup

parent 7973066c
Branches
Tags
No related merge requests found
......@@ -36,7 +36,7 @@ def reverse_lookup(q_in, q_out):
pass
signal.alarm(0)
con = sqlite3.connect('/var/lib/pakon.db')
con = sqlite3.connect('/var/lib/suricata-monitor.db')
c = con.cursor()
def get_name_from_cache(time, client, ip):
......
......@@ -111,7 +111,7 @@ con = False
# prepare the database for storing logged data
if log_traffic:
try:
con = sqlite3.connect('/var/lib/pakon.db')
con = sqlite3.connect('/var/lib/suricata-monitor.db')
except:
con = False
if con:
......
......@@ -12,7 +12,7 @@ from multiprocessing import Process, Queue
max_delay = 5
interval = 3600
con = sqlite3.connect('/var/lib/pakon.db')
con = sqlite3.connect('/var/lib/suricata-monitor.db')
c = con.cursor()
def squash(start):
......
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