attempt to fix issue #6 as well as db.read_one()

This commit is contained in:
Data-Monkey
2023-06-05 13:31:14 +10:00
parent 6edb623b9c
commit 5d0804639c
4 changed files with 27 additions and 12 deletions

View File

@@ -36,8 +36,6 @@ def scan_network (db):
db.commitDB()
# arp-scan command
conf.arpscan_devices = []
if conf.ENABLE_ARPSCAN:
@@ -117,7 +115,7 @@ def process_scan (db, arpscan_devices = conf.arpscan_devices ):
# Sessions snapshot
mylog('verbose','[Process Scan] Inserting scan results into Online_History')
insertOnlineHistory(db,conf.cycle)
insertOnlineHistory(db)
# Skip repeated notifications
mylog('verbose','[Process Scan] Skipping repeated notifications')