mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add device name into the l2 devices page
This commit is contained in:
parent
5ae3bb13ba
commit
fa6d428b13
5 changed files with 24 additions and 6 deletions
|
|
@ -66,6 +66,8 @@ function mac2record(mac)
|
|||
|
||||
record["column_traffic"] = bytesToSize(mac["bytes.sent"] + mac["bytes.rcvd"])
|
||||
|
||||
record["column_name"] = getDeviceName(mac["mac"], mac["vlan"], true)
|
||||
|
||||
return record
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue