mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Lua scripts parameters validation (#970)
* partial work * Migrate 'mode' parameters * Migrate alerts types * Fix some interface ids * Partial work * Partial work * End of work for _GET parameters * Work in progress * Add support for special parameters * Preferences validation * Fixes and improvements * Enforce interger validation
This commit is contained in:
parent
6b03576d1d
commit
afdfac1c9c
88 changed files with 1247 additions and 524 deletions
|
|
@ -10,7 +10,6 @@ require "lua_utils"
|
|||
sendHTTPHeader('application/json')
|
||||
|
||||
host_ip = _GET["host"]
|
||||
host_id = _GET["host_id"]
|
||||
|
||||
interface.select(ifname)
|
||||
flows_stats = interface.getFlowsInfo(host_ip)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue