Unify host and mac device types

Now the device type is a layer-2 concept and as such is stored into the Mac objects
This commit is contained in:
emanuele-f 2017-08-15 14:05:50 +02:00
parent c4a6ddd3a4
commit 6cdcc0ffac
15 changed files with 112 additions and 129 deletions

View file

@ -154,7 +154,7 @@ for mac, _ in pairsByValues(mac_to_sort, sort_function) do
local record = {}
if in_memory then
record["column_mac"] = mac2link(device["mac"])
record["column_mac"] = mac2link(device)
else
record["column_mac"] = macAddIcon(device["mac"])
end