Improved passive MDNS discovery

Fixed MDNS decode loop
This commit is contained in:
Luca 2018-04-02 11:31:28 +02:00
parent d4bbeb10a2
commit d1dcff81c4
12 changed files with 212 additions and 81 deletions

View file

@ -401,7 +401,8 @@ if((page == "overview") or (page == nil)) then
end
if(host['localhost'] and (host["mac"] ~= "") and (info["version.enterprise_edition"])) then
local ports = find_mac_snmp_ports(host["mac"], _GET["snmp_recache"] == "true")
local recache = _GET["snmp_recache"] == "true"
local ports = find_mac_snmp_ports(host["mac"], recache)
if(ports ~= nil) then
local rsps = 1