diff options
-rw-r--r-- | src/etc/inc/rrd.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc index a9c158f..34f5b47 100644 --- a/src/etc/inc/rrd.inc +++ b/src/etc/inc/rrd.inc @@ -972,6 +972,9 @@ for sock in {$g['varrun_path']}/dpinger_*.sock; do fi if echo "\$delay" | grep -Eqv '^[0-9]+\$'; then delay="U" + else + # Convert delay to millisecond + delay=\$(echo "scale=3; \$delay / 1000") fi gw=\$(echo \$sock | sed 's,^.*dpinger_,,; s,\.sock,,') |