mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Flow collection display fixes
This commit is contained in:
parent
11514d504e
commit
f22953f932
5 changed files with 178 additions and 158 deletions
|
|
@ -1644,18 +1644,22 @@ function formatNextHop(ip)
|
|||
|
||||
if(ip1 ~= ip) then
|
||||
ret = "<a href=\"" .. ntop.getHttpPrefix() .. "/lua/pro/enterprise/exporter_interfaces.lua?ip=" .. ip1 .. "\">" .. exporter_name
|
||||
|
||||
|
||||
if(site ~= nil) then
|
||||
ret = ret .. " (".. site ..")</A>"
|
||||
end
|
||||
|
||||
ret = ret .. " [".. "<a href=\"" .. ntop.getHttpPrefix() .. "/lua/host_details.lua?host=" .. ip .. "\">" .. ip .. "</a>".."]"
|
||||
|
||||
ret = ret .. " [".. "<a href=\"" .. ntop.getHttpPrefix() .. "/lua/host_details.lua?host=" .. ip .. "\">" .. ip .. "</a>".."]"
|
||||
else
|
||||
ret = "<a href=" .. ntop.getHttpPrefix() .. "/lua/host_details.lua?host=" .. ip1 .. ">" .. ip1 .. "</a>"
|
||||
if(ip == "0.0.0.0") then
|
||||
ret = ip
|
||||
else
|
||||
ret = "<a href=" .. ntop.getHttpPrefix() .. "/lua/host_details.lua?host=" .. ip1 .. ">" .. ip1 .. "</a>"
|
||||
end
|
||||
end
|
||||
|
||||
ret = ret .. "</a>"
|
||||
|
||||
|
||||
return ret, ip1, exporter_name or ip1, site
|
||||
else
|
||||
return ip, ip, ip, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue