mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fix syslog/producer/list.lua
This commit is contained in:
parent
5417c950ae
commit
53dd563386
1 changed files with 3 additions and 4 deletions
|
|
@ -17,10 +17,9 @@ local rc = rest_utils.consts.success.ok
|
|||
|
||||
if ifid == nil then
|
||||
rest_utils.answer(rest_utils.consts.err.missing_parameters, {"Interface id (ifid) required"})
|
||||
return
|
||||
end
|
||||
|
||||
if ifid ~= nil then
|
||||
res = syslog_utils.getProducers(ifid)
|
||||
end
|
||||
tprint(res)
|
||||
res = syslog_utils.getProducers(ifid)
|
||||
|
||||
rest_utils.answer(rc, res)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue