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 0f1a2c2..429964b 100644
--- a/plugin/openvpn.php
+++ b/plugin/openvpn.php
@@ -13,7 +13,7 @@ require_once 'inc/collectd.inc.php';
13switch(GET('t')) { 13switch(GET('t')) {
14 case 'if_octets': 14 case 'if_octets':
15 require_once 'type/GenericIO.class.php'; 15 require_once 'type/GenericIO.class.php';
16 $obj = new Type_GenericIO($CONFIG); 16 $obj = new Type_GenericIO($CONFIG, $_GET);
17 $obj->data_sources = array('rx', 'tx'); 17 $obj->data_sources = array('rx', 'tx');
18 $obj->ds_names = array( 18 $obj->ds_names = array(
19 'rx' => 'Receive', 19 'rx' => 'Receive',
@@ -30,7 +30,7 @@ switch(GET('t')) {
30 break; 30 break;
31 case 'users': 31 case 'users':
32 require_once 'type/Default.class.php'; 32 require_once 'type/Default.class.php';
33 $obj = new Type_Default($CONFIG); 33 $obj = new Type_Default($CONFIG, $_GET);
34 $obj->ds_names = array( 34 $obj->ds_names = array(
35 'value' => 'Users', 35 'value' => 'Users',
36 ); 36 );