mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fixes mac address not showing in network discovery page
This commit is contained in:
parent
c3032be62d
commit
62ed5caf55
3 changed files with 3 additions and 3 deletions
|
|
@ -123,7 +123,7 @@ for _, el in pairs(discovered["devices"]) do
|
|||
..ternary(el["icon"], " " ..(el["icon"] or "").. " ", "")
|
||||
..ternary(el["ghost"], " <font color=red>" ..(discover.ghost_icon or "").. "</font>", "")
|
||||
|
||||
rec.mac = [[<a href="]] ..ntop.getHttpPrefix().. [[/lua/mac_details.lua?host=]] ..el["mac"].. [[">]] ..get_symbolic_mac(el["mac"], true).. [[</a>]]
|
||||
rec.mac_address = [[<a href="]] ..ntop.getHttpPrefix().. [[/lua/mac_details.lua?host=]] ..el["mac"].. [[">]] ..get_symbolic_mac(el["mac"], true).. [[</a>]]
|
||||
rec.name = el.name
|
||||
rec.info = el.info
|
||||
rec.device = el["device_label"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue