mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
This commit is contained in:
parent
ff50067a3b
commit
3e13ef3f06
6 changed files with 17 additions and 3 deletions
|
|
@ -23,6 +23,11 @@ local ifid = _GET["ifid"]
|
|||
local flow_key = _GET["flow_key"]
|
||||
local flow_hash_id = _GET["flow_hash_id"]
|
||||
|
||||
if isEmptyString(flow_key) or isEmptyString(flow_hash_id) then
|
||||
rest_utils.answer(rest_utils.consts.err.missing_parameters, {"Required parameters: flow_key and flow_hash_id"})
|
||||
return
|
||||
end
|
||||
|
||||
if isEmptyString(ifid) then
|
||||
rest_utils.answer(rest_utils.consts.err.invalid_interface)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue