Replace calls to getResolvedAddress with host2name

This commit is contained in:
emanuele-f 2020-03-31 11:52:50 +02:00
parent 4b1184acdb
commit 02c36d4140
17 changed files with 73 additions and 45 deletions

View file

@ -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