aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/conntrack.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/conntrack.php')
-rw-r--r--plugin/conntrack.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/conntrack.php b/plugin/conntrack.php
index 6e2bba0..efd562c 100644
--- a/plugin/conntrack.php
+++ b/plugin/conntrack.php
@@ -10,7 +10,7 @@ require_once 'type/Default.class.php';
10 10
11$obj = new Type_Default($CONFIG, $_GET); 11$obj = new Type_Default($CONFIG, $_GET);
12$obj->data_sources = array('value'); 12$obj->data_sources = array('value');
13$obj->ds_names = array( 13$obj->legend = array(
14 'value' => 'Conntrack entries', 14 'value' => 'Conntrack entries',
15); 15);
16$obj->colors = array( 16$obj->colors = array(
@@ -25,8 +25,8 @@ $obj->rrd_format = '%.1lf';
25if ($CONFIG['version'] < 5) { 25if ($CONFIG['version'] < 5) {
26 $obj->data_sources = array('entropy'); 26 $obj->data_sources = array('entropy');
27 27
28 $obj->ds_names['entropy'] = $obj->ds_names['value']; 28 $obj->legend['entropy'] = $obj->legend['value'];
29 unset($obj->ds_names['value']); 29 unset($obj->legend['value']);
30 30
31 $obj->colors['entropy'] = $obj->colors['value']; 31 $obj->colors['entropy'] = $obj->colors['value'];
32 unset($obj->colors['value']); 32 unset($obj->colors['value']);