mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Sorting ICMP table entries to avoid shuffling on every table update
This commit is contained in:
parent
ed5c930df6
commit
85f4266f14
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ if(stats ~= nil) then
|
|||
|
||||
if(k == "ICMPv4") then is_v4 = true else is_v4 = false end
|
||||
|
||||
for key, value in pairs(icmp) do
|
||||
for key, value in pairsByKeys(icmp) do
|
||||
local keys = string.split(key, ",")
|
||||
local icmp_type = keys[1]
|
||||
local icmp_value = keys[2]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue