mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes service/periodicity map not working correctly with ip and macs
This commit is contained in:
parent
994eded6d4
commit
de0060da35
2 changed files with 15 additions and 9 deletions
|
|
@ -47,8 +47,13 @@ function macAddIcon(mac, pre)
|
|||
return pre
|
||||
end
|
||||
|
||||
function mac2link(mac)
|
||||
function mac2link(mac, cached_name)
|
||||
local macaddress = mac["mac"]
|
||||
|
||||
if cached_name then
|
||||
macaddress = mac2label(macaddress)
|
||||
end
|
||||
|
||||
return "<A HREF='"..ntop.getHttpPrefix()..'/lua/mac_details.lua?'..hostinfo2url(mac).."' title='"..macaddress.."'>"..macaddress..'</A>'
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue