Implemented ICMP handling

Optimized flow memory
This commit is contained in:
Luca Deri 2016-06-15 15:33:00 +02:00
parent 46e0fef38b
commit d6bc2ce91a
15 changed files with 277 additions and 144 deletions

View file

@ -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)