From edae75c21a8f657dd6cc9ace9e8e844ef337a951 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 18:15:12 +0200 Subject: rename ds_names and dsname to legend This had nothing to do with an RRD data source. --- plugin/snmp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/snmp.php') 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')) { require_once 'type/GenericIO.class.php'; $obj = new Type_GenericIO($CONFIG, $_GET); $obj->data_sources = array('rx', 'tx'); - $obj->ds_names = array( + $obj->legend = array( 'rx' => 'Receive', 'tx' => 'Transmit', ); -- cgit v1.1