mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implemented ICMP handling
Optimized flow memory
This commit is contained in:
parent
46e0fef38b
commit
d6bc2ce91a
15 changed files with 277 additions and 144 deletions
|
|
@ -73,6 +73,7 @@ num = 0
|
|||
sort_mode = mode
|
||||
|
||||
--
|
||||
if(hosts_stats ~= nil) then
|
||||
for key, value in pairs(hosts_stats) do
|
||||
num = num + 1
|
||||
postfix = string.format("0.%04u", num)
|
||||
|
|
@ -92,6 +93,7 @@ for key, value in pairs(hosts_stats) do
|
|||
vals[hosts_stats[key]["http.act_num_requests"]+postfix] = key
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
table.sort(vals)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue