mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements interface.findFlowByTuple to fix issues with ICMP
Fixes #2415
This commit is contained in:
parent
63b15acf83
commit
2fd5a75b6a
10 changed files with 124 additions and 69 deletions
|
|
@ -224,13 +224,14 @@ for key, value in ipairs(flows_stats) do
|
|||
-- safety checks against injections
|
||||
info = noHtml(info)
|
||||
info = info:gsub('"', '')
|
||||
local alt_info = info
|
||||
|
||||
if italic then
|
||||
info = string.format("<i>%s</i>", info)
|
||||
end
|
||||
|
||||
|
||||
info = shortenString(info)
|
||||
flows_stats[key]["info"] = info
|
||||
flows_stats[key]["info"] = "<span title='"..alt_info.."'>"..info.."</span>"
|
||||
|
||||
if(flows_stats[key]["profile"] ~= nil) then
|
||||
flows_stats[key]["info"] = "<span class='label label-primary'>"..flows_stats[key]["profile"].."</span> "..info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue