latency: Ping 'gateway'
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Dec 2015 22:32:44 +0000 (23:32 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Dec 2015 22:32:44 +0000 (23:32 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/latency.py

index a3d9110..a2c12ad 100644 (file)
@@ -29,6 +29,11 @@ from ..colours import *
 from ..i18n import _
 
 PING_HOSTS = [
+       # gateway is a special name that is automatically
+       # resolved by myhostname to the default gateway.
+       "gateway",
+
+       # The IPFire main server
        "ping.ipfire.org",
 ]