diff options
author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/snmp.php | |
parent | type/base: set default values for rrd_title and rrd_format (diff) | |
download | apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2 apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz |
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/snmp.php')
-rw-r--r-- | plugin/snmp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/snmp.php b/plugin/snmp.php index 4d871a8..4fbebbb 100644 --- a/plugin/snmp.php +++ b/plugin/snmp.php | |||
@@ -10,7 +10,7 @@ switch(GET('t')) { | |||
10 | require_once 'type/GenericIO.class.php'; | 10 | require_once 'type/GenericIO.class.php'; |
11 | $obj = new Type_GenericIO($CONFIG, $_GET); | 11 | $obj = new Type_GenericIO($CONFIG, $_GET); |
12 | $obj->data_sources = array('rx', 'tx'); | 12 | $obj->data_sources = array('rx', 'tx'); |
13 | $obj->ds_names = array( | 13 | $obj->legend = array( |
14 | 'rx' => 'Receive', | 14 | 'rx' => 'Receive', |
15 | 'tx' => 'Transmit', | 15 | 'tx' => 'Transmit', |
16 | ); | 16 | ); |