aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/openvpn.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin/openvpn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/openvpn.php b/plugin/openvpn.php
index 1ff6dd1..6eba3d5 100644
--- a/plugin/openvpn.php
+++ b/plugin/openvpn.php
@@ -14,7 +14,7 @@ switch(GET('t')) {
14 require_once 'type/GenericIO.class.php'; 14 require_once 'type/GenericIO.class.php';
15 $obj = new Type_GenericIO($CONFIG, $_GET); 15 $obj = new Type_GenericIO($CONFIG, $_GET);
16 $obj->data_sources = array('rx', 'tx'); 16 $obj->data_sources = array('rx', 'tx');
17 $obj->ds_names = array( 17 $obj->legend = array(
18 'rx' => 'Receive', 18 'rx' => 'Receive',
19 'tx' => 'Transmit', 19 'tx' => 'Transmit',
20 ); 20 );
@@ -30,7 +30,7 @@ switch(GET('t')) {
30 case 'users': 30 case 'users':
31 require_once 'type/Default.class.php'; 31 require_once 'type/Default.class.php';
32 $obj = new Type_Default($CONFIG, $_GET); 32 $obj = new Type_Default($CONFIG, $_GET);
33 $obj->ds_names = array( 33 $obj->legend = array(
34 'value' => 'Users', 34 'value' => 'Users',
35 ); 35 );
36 $obj->rrd_title = sprintf('Users (%s)', $obj->args['pinstance']); 36 $obj->rrd_title = sprintf('Users (%s)', $obj->args['pinstance']);