mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes ip resolution not updating the name (#7123)
This commit is contained in:
parent
1736e6e505
commit
dcb03b07bd
2 changed files with 31 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ if((host_info ~= nil) and (host_info["host"] ~= nil)) then
|
|||
if((host["ip"] == host["name"]) and ntop.shouldResolveHost(host["ip"])) then
|
||||
-- Actively resolve host if resolution is enabled
|
||||
host["name"] = resolveAddress(hostinfo)
|
||||
interface.setHostResolvedName(hostinfo2hostkey(hostinfo), host["name"])
|
||||
end
|
||||
end
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue