mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Use meaningful names
This commit is contained in:
parent
061f2b50fc
commit
d29c4d384d
3 changed files with 29 additions and 29 deletions
|
|
@ -23,7 +23,7 @@ if single_host then
|
|||
rest_utils.answer(rest_utils.consts.err.invalid_args)
|
||||
end
|
||||
|
||||
local res = vs_utils.schedule_host_scan(scan_type, host, ports, scan_id)
|
||||
local res = vs_utils.schedule_ondemand_single_host_scan(scan_type, host, ports, scan_id)
|
||||
|
||||
if res then
|
||||
rest_utils.answer(rest_utils.consts.success.ok)
|
||||
|
|
@ -32,7 +32,7 @@ if single_host then
|
|||
|
||||
end
|
||||
else
|
||||
local res = vs_utils.schedule_all_hosts_scan()
|
||||
local res = vs_utils.schedule_ondemand_all_hosts_scan()
|
||||
|
||||
if res then
|
||||
rest_utils.answer(rest_utils.consts.success.ok)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue