Added ability to show file information/hash when downloaded via Bittorrent

This commit is contained in:
Luca Deri 2016-02-15 11:20:08 +01:00
parent 2c7597cd08
commit 40a1110a7e
4 changed files with 28 additions and 2 deletions

View file

@ -266,6 +266,8 @@ for key, value in pairs(flows_stats) do
info = shortenString(flows_stats[key]["http.last_url"])
elseif(flows_stats[key]["ssl.certificate"] ~= nil) then
info = shortenString(flows_stats[key]["ssl.certificate"])
elseif(flows_stats[key]["bittorrent_hash"] ~= nil) then
info = shortenString(flows_stats[key]["bittorrent_hash"])
end
flows_stats[key]["info"] = info