From 3f7f26ae1668fb4484492f868ff5b0c1429b3171 Mon Sep 17 00:00:00 2001 From: N0YB Date: Thu, 20 Feb 2014 10:37:57 -0800 Subject: Add the missing global $g --- etc/inc/rrd.inc | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.1