mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Removed duplicated interfaces (issue #236)
Initial work towards traffic profiles support
This commit is contained in:
parent
c41bb4c6d5
commit
cfbf3f2ac6
12 changed files with 34 additions and 27 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue