Fix new device alert on wan devices and add device name info

This commit is contained in:
emanuele-f 2018-03-08 13:36:35 +01:00
parent 10e541c34f
commit 4b9ae1904d
5 changed files with 33 additions and 15 deletions

View file

@ -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