mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +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
|
|
@ -109,7 +109,7 @@ end
|
|||
-- ###############################
|
||||
|
||||
local res = {}
|
||||
if(_GET["ifname"] == "all") then
|
||||
if(_GET["iffilter"] == "all") then
|
||||
local names = interface.getIfNames()
|
||||
local n = 1
|
||||
local sortedKeys = getKeysSortedByValue(names, function(a, b) return a < b end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue