diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/netlink.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/netlink.php b/plugin/netlink.php index 77c0c48..146545e 100644 --- a/plugin/netlink.php +++ b/plugin/netlink.php | |||
@@ -64,8 +64,8 @@ switch($obj->args['type']) { | |||
64 | 'tx' => '00b000', | 64 | 'tx' => '00b000', |
65 | ); | 65 | ); |
66 | $obj->rrd_title = sprintf('Interface Traffic (%s)', $obj->args['pinstance']); | 66 | $obj->rrd_title = sprintf('Interface Traffic (%s)', $obj->args['pinstance']); |
67 | $obj->rrd_vertical = sprintf('%s/s', ucfirst($CONFIG['datasize'])); | 67 | $obj->rrd_vertical = sprintf('%s/s', ucfirst($CONFIG['network_datasize'])); |
68 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | 68 | $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1; |
69 | break; | 69 | break; |
70 | case 'if_packets': | 70 | case 'if_packets': |
71 | $obj->data_sources = array('rx', 'tx'); | 71 | $obj->data_sources = array('rx', 'tx'); |