]> git.ipfire.org Git - oddments/collecty.git/commit
latency: Don't show full packet loss in background
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 26 Oct 2015 13:26:22 +0000 (14:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 26 Oct 2015 13:26:22 +0000 (14:26 +0100)
commitbaa4852aecabe6d80eb5ea60ccf0cbf5c4fb822d
treec8f0db8f7662f7f00abf230ae862f481d3d947bc
parentcb1ccb4f9ebcb7a6b840e76c18e61219790a8d55
latency: Don't show full packet loss in background

If a system has no connectivity to either IPv6 or IPv4 the background
will turn dark because 100% packet loss is detected.

We will now only paint the background dark for packet loss up to
99% and for 100% packet loss the line will not be continued so that
this is easily readable, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/latency.py