aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/interface.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin/interface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/interface.php b/plugin/interface.php
index 107cb27..777f953 100644
--- a/plugin/interface.php
+++ b/plugin/interface.php
@@ -39,8 +39,8 @@ switch($obj->args['type']) {
39 break; 39 break;
40 case 'if_octets': 40 case 'if_octets':
41 $obj->rrd_title = sprintf('Interface Traffic (%s)', $obj->args[$instance]); 41 $obj->rrd_title = sprintf('Interface Traffic (%s)', $obj->args[$instance]);
42 $obj->rrd_vertical = sprintf('%s per second', ucfirst($CONFIG['datasize'])); 42 $obj->rrd_vertical = sprintf('%s per second', ucfirst($CONFIG['network_datasize']));
43 $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; 43 $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1;
44 break; 44 break;
45 case 'if_packets': 45 case 'if_packets':
46 $obj->rrd_title = sprintf('Interface Packets (%s)', $obj->args[$instance]); 46 $obj->rrd_title = sprintf('Interface Packets (%s)', $obj->args[$instance]);