summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-01-20 23:29:39 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-01-20 23:29:39 +0000
commit2a1e01d7ac469e43e4ce9e2cce4cfee5713cbf3d (patch)
treec169622222da1dc5a61e6cbcd7bea19247ff4430 /etc
parent4fd34ccee48d3ae2ba89763a1260337b9d6f3f20 (diff)
downloadpfsense-2a1e01d7ac469e43e4ce9e2cce4cfee5713cbf3d.zip
pfsense-2a1e01d7ac469e43e4ce9e2cce4cfee5713cbf3d.tar.gz
Not sure how I missed this.
* use correct variable name.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9e8845a..0cd6e62 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -2199,8 +2199,8 @@ function enable_rrd_graphing() {
$rrdupdatesh .= " local out_{$ifname}\n";
$rrdupdatesh .= " out_{$ifname}=$btick ping -c $numpings -q $monitorip $btick\n";
$rrdupdatesh .= " if [ $? -eq 0 ]; then\n";
- $rrdupdatesh .= " packetloss_{$ifname}=$btick echo \$out | cut -f18 -d' ' | cut -c -1 $btick\n";
- $rrdupdatesh .= " roundtrip_{$ifname}=$btick echo \$out | cut -f24 -d' ' | cut -f2 -d'/' $btick\n";
+ $rrdupdatesh .= " packetloss_{$ifname}=$btick echo \$out_{$ifname} | cut -f18 -d' ' | cut -c -1 $btick\n";
+ $rrdupdatesh .= " roundtrip_{$ifname}=$btick echo \$out_{$ifname} | cut -f24 -d' ' | cut -f2 -d'/' $btick\n";
$rrdupdatesh .= " fi\n";
$rrdupdatesh .= " $rrdtool update $rrddbpath$ifname$quality N:\$packetloss_{$ifname}:\$roundtrip_{$ifname}\n";
$rrdupdatesh .= "}\n\n";
OpenPOWER on IntegriCloud