mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Added mac address to the hosts page
This commit is contained in:
parent
db8cb2cfa0
commit
cb0312aa64
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue