Removed duplicated interfaces (issue #236)

Initial work towards traffic profiles support
This commit is contained in:
Luca Deri 2015-10-17 19:14:16 +02:00
parent c41bb4c6d5
commit cfbf3f2ac6
12 changed files with 34 additions and 27 deletions

View file

@ -268,8 +268,12 @@ for key, value in pairs(flows_stats) do
elseif(flows_stats[key]["ssl.certificate"] ~= nil) then
info = shortenString(flows_stats[key]["ssl.certificate"])
end
flows_stats[key]["info"] = info
flows_stats[key]["info"] = info
if(flows_stats[key]["profile"] ~= nil) then
flows_stats[key]["info"] = "<span class='label label-primary'>"..flows_stats[key]["profile"].."</span> "..info
end
---------------- TABLE SORTING ----------------
if(process) then
if (debug_process) then io.write("Flow Processing\n")end
@ -520,4 +524,4 @@ if(sortOrder == nil) then
end
print ("\"sort\" : [ [ \"" .. sortColumn .. "\", \"" .. sortOrder .."\" ] ],\n")
print ("\"totalRows\" : " .. total .. " \n}")
print ("\"totalRows\" : " .. total .. " \n}")