mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Various service and periodicty map improvements
This commit is contained in:
parent
7616249acd
commit
60a238acb0
9 changed files with 66 additions and 20 deletions
|
|
@ -3909,7 +3909,7 @@ end
|
|||
|
||||
local cache = {}
|
||||
|
||||
function buildHostHREF(ip_address)
|
||||
function buildHostHREF(ip_address, page)
|
||||
local stats = cache[ip_address]
|
||||
|
||||
if(stats == nil) then
|
||||
|
|
@ -3925,7 +3925,7 @@ function buildHostHREF(ip_address)
|
|||
local name = stats.name
|
||||
|
||||
if((name == nil) or (name == "")) then name = ip_address end
|
||||
return('<A HREF="'..ntop.getHttpPrefix()..'/lua/host_details.lua?host='..ip_address..'&page=service_map">'..name..'</A>')
|
||||
return('<A HREF="'..ntop.getHttpPrefix()..'/lua/host_details.lua?host='..ip_address..'&page='..page..'">'..name..'</A>')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue