mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Replace calls to getResolvedAddress with host2name
This commit is contained in:
parent
4b1184acdb
commit
02c36d4140
17 changed files with 73 additions and 45 deletions
|
|
@ -223,7 +223,8 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
|
||||
print("\"column_name\" : \"")
|
||||
if(value["protocol"] == 65535) then
|
||||
print(getResolvedAddress(hostkey2hostinfo(key)))
|
||||
local hinfo = hostkey2hostinfo(key)
|
||||
print(host2name(hinfo["host"], hinfo["vlan"]))
|
||||
else
|
||||
print(key)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue