Fix interface paused icon

This commit is contained in:
emanuele-f 2019-10-25 16:43:09 +02:00
parent 2da3bafe10
commit 8a2d3dafff

View file

@ -1835,6 +1835,10 @@ end
function isPausedInterface(current_ifname)
if(not isEmptyString(_POST["toggle_local"])) then
return(_POST["toggle_local"] == "0")
end
state = ntop.getCache("ntopng.prefs."..current_ifname.."_not_idle")
if(state == "0") then return true else return false end
end