Fix VA pending scan.

This commit is contained in:
Nicolo Maio 2023-08-16 11:48:28 +02:00
parent afcfd059dd
commit 6110624289

View file

@ -534,7 +534,7 @@ end
-- **********************************************************
function vs_utils.schedule_host_scan(scan_type, host, ports, scan_id)
local scan = { scan_type = scan_type, host = host, ports = ports }
local scan = { scan_type = scan_type, host = host, ports = ports, id= scan_id}
vs_utils.set_status_scan(scan_type, host, ports, scan_id)
ntop.rpushCache(host_scan_queue_key, json.encode(scan))