summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-02-20 10:37:57 -0800
committerN0YB <Al_Stu@Frontier.com>2014-02-20 10:37:57 -0800
commit3f7f26ae1668fb4484492f868ff5b0c1429b3171 (patch)
tree39fb2a22bffbc9ededaf2b295d970d79679776f4 /etc
parentd55cba63e730d919f50c398fc07c35138c682ca9 (diff)
downloadpfsense-3f7f26ae1668fb4484492f868ff5b0c1429b3171.zip
pfsense-3f7f26ae1668fb4484492f868ff5b0c1429b3171.tar.gz
Add the missing global $g
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/rrd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index 222c39b..255499e 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -929,6 +929,7 @@ function enable_rrd_graphing() {
# Create gateway quality RRD with settings suitable for pfSense graph set.
function create_gateway_quality_rrd($rrd_file) {
+ global $g;
$rrdinterval = 60;
$valid = $rrdinterval * 2;
$rrdtool = "/usr/bin/nice -n20 /usr/local/bin/rrdtool";
OpenPOWER on IntegriCloud