Removes unused DNS-based categorization

This commit is contained in:
Simone Mainardi 2017-10-31 13:53:17 +01:00
parent 68a76043b6
commit 4bbe36c957
33 changed files with 32 additions and 1641 deletions

View file

@ -367,13 +367,6 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
record["column_info"] = "ciao"
local info = value["info"]
if(prefs.is_categorization_enabled and (value["info"] ~= "") and (key ~= nil)) then
local flow = interface.findFlowByKey(tonumber(key))
if(flow ~= nil) then value["category"] = flow["category"] end
if(value["category"] ~= "") then
info = info..getCategoryIcon(value["info"], value["category"])
end
end
record["column_info"] = info