Change dpinger syslog message to reflect correct RTT and RTTd unit (#4456)

Dpinger actually reports RTT and RTTd in µs.
This commit is contained in:
fhloston 2020-11-12 18:41:18 +01:00 committed by GitHub
parent d992cfc2a2
commit 2c888dadfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ if [ -z "${GATEWAY}" ]; then
exit 1
fi
/usr/bin/logger -t dpinger "GATEWAY ALARM: ${GATEWAY} (Addr: ${2} Alarm: ${3} RTT: ${4}ms RTTd: ${5}ms Loss: ${6}%)"
/usr/bin/logger -t dpinger "GATEWAY ALARM: ${GATEWAY} (Addr: ${2} Alarm: ${3} RTT: ${4}us RTTd: ${5}us Loss: ${6}%)"
echo -n "Reloading filter: "
configctl filter reload gateway