mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Lua code cleanup
This commit is contained in:
parent
c83bcdb887
commit
6f9a7d0238
3 changed files with 13 additions and 32 deletions
|
|
@ -383,6 +383,8 @@ end
|
|||
|
||||
function pairsByKeys(t, f)
|
||||
local a = {}
|
||||
|
||||
-- io.write(debug.traceback().."\n")
|
||||
for n in pairs(t) do table.insert(a, n) end
|
||||
table.sort(a, f)
|
||||
local i = 0 -- iterator variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue