mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes timeseries of hosts with resolved names not working (#8787)
This commit is contained in:
parent
f3d471d9c8
commit
b438573b2a
1 changed files with 0 additions and 6 deletions
|
|
@ -14,12 +14,6 @@ local function addHostInfo(tags)
|
|||
if not isEmptyString(host["host"]) and serialize_by_mac then
|
||||
local host_info = interface.getHostMinInfo(host["host"], host["vlan"])
|
||||
if (host_info ~= nil) then
|
||||
-- Add the label if available
|
||||
if (host_info.name) and not isEmptyString(host_info.name) then
|
||||
-- Add the symbolic host name (if present)
|
||||
tags.label = host_info.name
|
||||
end
|
||||
|
||||
-- Add the label MAC if available
|
||||
if (host_info.mac) and not isEmptyString(host_info.mac) then
|
||||
tags.mac = host_info.mac;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue