This commit is contained in:
Luca Deri 2015-07-25 11:33:39 +02:00
parent 3cc1461e34
commit ce40e25b03

View file

@ -224,7 +224,7 @@ for key, value in pairs(hosts_stats) do
if((protocol ~= nil) and (ok == true)) then
info = interface.getHostInfo(key)
if(info["ndpi"][protocol] == nil) then
if((info == nil) or (info["ndpi"][protocol] == nil)) then
ok = false
end
end