Added mac address to the hosts page

This commit is contained in:
Matteo Biscosi 2024-05-31 10:39:30 -04:00
parent db8cb2cfa0
commit cb0312aa64

View file

@ -166,6 +166,11 @@ for key, value in pairs(hosts_stats["hosts"]) do
record.hostname.alt_name = alt_name
end
column_ip["mac"] = {
address = value["mac"],
name = getDeviceName(value["mac"])
}
column_ip["vlan"] = {
name = '',
id = 0