mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixed host resolved not showing into service table or map
This commit is contained in:
parent
4829d3089c
commit
72dbda8372
1 changed files with 4 additions and 2 deletions
|
|
@ -3990,7 +3990,8 @@ function buildHostHREF(ip_address, vlan_id, page)
|
|||
if(stats == nil) then
|
||||
return(ip_address)
|
||||
else
|
||||
local name = stats.name
|
||||
local hinfo = hostkey2hostinfo(ip_address)
|
||||
local name = hostinfo2label(hinfo)
|
||||
local res
|
||||
|
||||
if((name == nil) or (name == "")) then name = ip_address end
|
||||
|
|
@ -4016,7 +4017,8 @@ function builMapHREF(ip_address, vlan_id, map, default_page)
|
|||
if(stats == nil) then
|
||||
return(ip_address)
|
||||
else
|
||||
local name = stats.name
|
||||
local hinfo = hostkey2hostinfo(ip_address)
|
||||
local name = hostinfo2label(hinfo)
|
||||
local res
|
||||
|
||||
if((name == nil) or (name == "")) then name = ip_address end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue