summaryrefslogtreecommitdiffstats
path: root/etc/inc/rrd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/rrd.inc')
-rw-r--r--etc/inc/rrd.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index 629e0df..1a04860 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -457,14 +457,14 @@ function enable_rrd_graphing() {
if($g['booting']) {
$rrdqcommand = "-t ";
$rrducommand = "N";
- $q = 0;
+ $qi = 0;
foreach ($qlist as $qname => $q) {
- if($q == 0) {
+ if($qi == 0) {
$rrdqcommand .= "{$qname}";
} else {
$rrdqcommand .= ":{$qname}";
}
- $q++;
+ $qi++;
$rrducommand .= ":U";
}
mwexec("$rrdtool update $rrddbpath$ifname$queues $rrdqcommand $rrducommand");
OpenPOWER on IntegriCloud