diff options
author | Renato Botelho <renato@netgate.com> | 2015-12-11 13:12:12 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-12-11 13:12:12 -0200 |
commit | ebad20a9f82b644bae5fea1a7db67a2cc1fae6e8 (patch) | |
tree | f83b6f7ec3b0ad61fdbd10f1b45893c0d83fb802 /src/etc/inc/rrd.inc | |
parent | 4fa580c2a3115c9bf6da3b93ef00f54e7bc4a7c8 (diff) | |
download | pfsense-ebad20a9f82b644bae5fea1a7db67a2cc1fae6e8.zip pfsense-ebad20a9f82b644bae5fea1a7db67a2cc1fae6e8.tar.gz |
Actually call bc to do the math, ticket #5624
Diffstat (limited to 'src/etc/inc/rrd.inc')
-rw-r--r-- | src/etc/inc/rrd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc index 34f5b47..3904d86 100644 --- a/src/etc/inc/rrd.inc +++ b/src/etc/inc/rrd.inc @@ -974,7 +974,7 @@ for sock in {$g['varrun_path']}/dpinger_*.sock; do delay="U" else # Convert delay to millisecond - delay=\$(echo "scale=3; \$delay / 1000") + delay=\$(echo "scale=3; \$delay / 1000" | /usr/bin/bc) fi gw=\$(echo \$sock | sed 's,^.*dpinger_,,; s,\.sock,,') |