mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Adds ports, l4 and l7 protocols to pcap and flows download
This commit is contained in:
parent
90ffa1eb10
commit
18e8e57db5
3 changed files with 25 additions and 3 deletions
|
|
@ -1029,7 +1029,13 @@ if host ~= "" and host ~= nil then
|
|||
div_data = div_data..' host="'..tostring(host)..'" '
|
||||
end
|
||||
if l7proto ~= "" and l7proto ~= nil then
|
||||
div_data = div_data..' proto_id="'..l7proto..'" '
|
||||
div_data = div_data..' l7_proto_id="'..l7proto..'" '
|
||||
end
|
||||
if l4proto ~= "" and l4proto ~= nil then
|
||||
div_data = div_data..' l4_proto_id="'..l4proto..'" '
|
||||
end
|
||||
if port ~= "" and port ~= nil then
|
||||
div_data = div_data..' port="'..port..'" '
|
||||
end
|
||||
|
||||
if (not((limitv4 == nil) or (limitv4 == "") or (limitv4 == "0"))) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue