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

@ -277,6 +277,8 @@ for key, value in ipairs(flows_stats) do
info = shortenString(flows_stats[key]["bittorrent_hash"])
elseif(flows_stats[key]["host_server_name"] ~= nil) then
info = shortenString(flows_stats[key]["host_server_name"])
elseif(flows_stats[key]["icmp"] ~= nil) then
info = getICMPTypeCode(flows_stats[key]["icmp"])
end
flows_stats[key]["info"] = info