summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-03-30 20:48:24 -0400
committerjim-p <jimp@pfsense.org>2011-03-30 20:48:24 -0400
commit84575284b533458fe914ee0bd0640056890dec1a (patch)
treedb78275ee9606d124229d474e7c01f506e22ffbf /usr/local
parent857a4a79864a4b250271e5a5648ddb2a3ad249ee (diff)
downloadpfsense-84575284b533458fe914ee0bd0640056890dec1a.zip
pfsense-84575284b533458fe914ee0bd0640056890dec1a.tar.gz
Apparently rrdtool VDEF functions can't take a multiplier, only CDEF. Fixes traffic graphs.
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/status_rrd_graph_img.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php
index 795980f..22802bc 100644
--- a/usr/local/www/status_rrd_graph_img.php
+++ b/usr/local/www/status_rrd_graph_img.php
@@ -315,7 +315,7 @@ if((strstr($curdatabase, "-traffic.rrd")) && (file_exists("$rrddbpath$curdatabas
$graphcmd .= "CDEF:\"$curif-bytes_t=$curif-bytes_in_t_pass,$curif-bytes_out_t_block,+\" ";
$graphcmd .= "VDEF:\"$curif-in_bits_95=$curif-in_bits,95,PERCENT\" ";
- $graphcmd .= "VDEF:\"$curif-out_bits_95=$curif-out_bits,95,PERCENT,$multiplier,*\" ";
+ $graphcmd .= "VDEF:\"$curif-out_bits_95=$curif-out_bits,95,PERCENT\" ";
$graphcmd .= "AREA:\"$curif-in_bits_block#{$colortrafficdown[1]}:$curif-in-block\" ";
$graphcmd .= "AREA:\"$curif-in_bits_pass#{$colortrafficdown[0]}:$curif-in-pass:STACK\" ";
OpenPOWER on IntegriCloud