diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-09-21 20:36:04 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-09-21 20:36:04 +0000 |
commit | 93ecc2fb4380c6cc75a758d02bacc812d59a0dc2 (patch) | |
tree | a336a3942a60250e3ba598fef9a532ef8d897602 /etc | |
parent | 9d635f0a554773de35a2a8fee4da8de1756d4209 (diff) | |
download | pfsense-93ecc2fb4380c6cc75a758d02bacc812d59a0dc2.zip pfsense-93ecc2fb4380c6cc75a758d02bacc812d59a0dc2.tar.gz |
Reffer to correct variable
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 1bfe23d..6988667 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2968,7 +2968,7 @@ function enable_rrd_graphing() { $rrdupdatesh .= " packetloss_{$ifname}=100\n"; $rrdupdatesh .= " roundtrip_{$ifname}=0\n"; $rrdupdatesh .= " local out_{$ifname}\n"; - $rrdupdatesh .= " out_{$ifname}=`$ping -c $numpings -q $monitorip`\n"; + $rrdupdatesh .= " out_{$ifname}=`$pingcmd -c $numpings -q $monitorip`\n"; $rrdupdatesh .= " if [ $? -eq 0 ]; then\n"; $rrdupdatesh .= " packetloss_{$ifname}=`echo \$out_{$ifname} | cut -f18 -d' ' | cut -c -1`\n"; $rrdupdatesh .= " roundtrip_{$ifname}=`echo \$out_{$ifname} | cut -f24 -d' ' | cut -f2 -d'/'`\n"; |