aboutsummaryrefslogtreecommitdiffstats
path: root/config/rrd-summary/status_rrd_summary.php
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-07-13 18:23:26 -0400
committerjim-p <jim@pingle.org>2010-07-13 18:23:26 -0400
commit86dca84de5fa2fab3593bea846dbe9273c995041 (patch)
tree1258c52d89718e180bf435841e6efb8e7b0ed0ad /config/rrd-summary/status_rrd_summary.php
parentb4fec154429b41d375b0685d56a80d7e62df7ea0 (diff)
downloadpfsense-packages-86dca84de5fa2fab3593bea846dbe9273c995041.tar.gz
pfsense-packages-86dca84de5fa2fab3593bea846dbe9273c995041.tar.bz2
pfsense-packages-86dca84de5fa2fab3593bea846dbe9273c995041.zip
Use 3600 here.
Diffstat (limited to 'config/rrd-summary/status_rrd_summary.php')
-rw-r--r--config/rrd-summary/status_rrd_summary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/rrd-summary/status_rrd_summary.php b/config/rrd-summary/status_rrd_summary.php
index 3d50f2f4..0e43d95c 100644
--- a/config/rrd-summary/status_rrd_summary.php
+++ b/config/rrd-summary/status_rrd_summary.php
@@ -35,7 +35,7 @@ $lastmonth = "00 " . date("m/{$startday}/Y", strtotime("-1 month", strtotime(dat
$thismonth = fetch_rrd_summary($rrd, $start, "now");
$lastmonth = fetch_rrd_summary($rrd, $lastmonth, $start, 720*60);
-function fetch_rrd_summary($rrd, $start, $end, $resolution=(60*60)) {
+function fetch_rrd_summary($rrd, $start, $end, $resolution=3600) {
$traffic = array();
$rrd = escapeshellarg("/var/db/rrd/{$rrd}");
$start = escapeshellarg($start);