mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
removed service map and periodicity map from community
This commit is contained in:
parent
5f801c53fb
commit
00e12add95
7 changed files with 29 additions and 80 deletions
|
|
@ -4002,7 +4002,7 @@ function buildHostHREF(ip_address, vlan_id, page)
|
|||
end
|
||||
end
|
||||
|
||||
function builServiceMapHREF(ip_address, vlan_id)
|
||||
function builMapHREF(ip_address, vlan_id, map, default_page)
|
||||
|
||||
local stats = cache[ip_address]
|
||||
|
||||
|
|
@ -4020,15 +4020,16 @@ function builServiceMapHREF(ip_address, vlan_id)
|
|||
local res
|
||||
|
||||
if((name == nil) or (name == "")) then name = ip_address end
|
||||
res = '<a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/service_map.lua?host='..ip_address
|
||||
res = '<a href="'..ntop.getHttpPrefix()..'/lua/pro/enterprise/'..map..'_map.lua?host='..ip_address
|
||||
|
||||
if(vlan_id and (vlan_id ~= 0)) then res = res .. "@"..vlan_id end
|
||||
res = res ..'&page=graph">'..name..'</A>'
|
||||
res = res ..'&page='..default_page..'">'..name..'</A>'
|
||||
|
||||
return(res)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- IMPORTANT
|
||||
-- Leave it at the end so it can use the functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue