mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fix new device alert on wan devices and add device name info
This commit is contained in:
parent
10e541c34f
commit
4b9ae1904d
5 changed files with 33 additions and 15 deletions
|
|
@ -66,7 +66,7 @@ function mac2record(mac)
|
|||
|
||||
record["column_traffic"] = bytesToSize(mac["bytes.sent"] + mac["bytes.rcvd"])
|
||||
|
||||
record["column_name"] = getDeviceName(mac["mac"], mac["vlan"], true)
|
||||
record["column_name"] = getDeviceName(mac["mac"], true)
|
||||
|
||||
return record
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue