Hides RTT/Jitter when measure is at zero

Fixes #3912
This commit is contained in:
Simone Mainardi 2020-05-08 17:01:25 +02:00
parent acb590ba85
commit 33196fdc41

View file

@ -66,7 +66,7 @@ for key, am_host in pairs(am_hosts) do
end
end
if last_update and last_update.jitter and last_update.mean then
if last_update and last_update.jitter and last_update.mean and (last_update.jitter > 0 or last_update.mean > 0) then
local jitter_unit = ""
if m_info.i18n_jitter_unit then