mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix schedule all hosts button. (#7625)
This commit is contained in:
parent
c482e15ba5
commit
cef5d72b8d
5 changed files with 4 additions and 4 deletions
|
|
@ -319,7 +319,9 @@ function vs_utils.schedule_all_hosts_scan(scan_type, host, ports)
|
|||
for _,scan_info in ipairs(host_to_scan_list) do
|
||||
local scan_type = scan_info.scan_type
|
||||
local host = scan_info.host
|
||||
local ports = scan_info.ports
|
||||
local scan = { scan_type = scan_type, host = host, ports = ports }
|
||||
vs_utils.set_status_scan(scan_type, host, ports)
|
||||
|
||||
ntop.rpushCache(host_scan_queue_key, json.encode(scan))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue