]> git.ipfire.org Git - collecty.git/commitdiff
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 a3d911040609c586e4cfadd426c4b5dc6bdb1ff9..a2c12ad7125cc320884d1b517295c1ffd4afa0e4 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",
 ]