aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/ping.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/ping.php')
-rw-r--r--plugin/ping.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/ping.php b/plugin/ping.php
index 9780969..f2845f1 100644
--- a/plugin/ping.php
+++ b/plugin/ping.php
@@ -23,7 +23,8 @@ $obj->rrd_format = '%5.1lf';
23 23
24switch($obj->args['type']) { 24switch($obj->args['type']) {
25 case 'ping': 25 case 'ping':
26 $obj->data_sources = array('ping'); 26 if ($CONFIG['version'] < 5)
27 $obj->data_sources = array('ping');
27 $obj->rrd_title = 'Ping latency'; 28 $obj->rrd_title = 'Ping latency';
28 $obj->rrd_vertical = 'Milliseconds'; 29 $obj->rrd_vertical = 'Milliseconds';
29 break; 30 break;