mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Changed service/periodicity map href when clicking the host
This commit is contained in:
parent
95feea29b4
commit
14143d7690
2 changed files with 14 additions and 3 deletions
|
|
@ -47,9 +47,13 @@ function macAddIcon(mac, pre)
|
|||
return pre
|
||||
end
|
||||
|
||||
function mac2link(mac, cached_name)
|
||||
function mac2link(mac, cached_name, alt_name)
|
||||
local macaddress = mac["mac"]
|
||||
|
||||
if alt_name and not isEmptyString(alt_name) then
|
||||
macaddress = alt_name
|
||||
end
|
||||
|
||||
if cached_name then
|
||||
macaddress = mac2label(macaddress)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue