1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix omr-tracker

This commit is contained in:
Ycarus 2018-02-02 11:22:12 +01:00
parent 54b63029e9
commit 479c788dd0
2 changed files with 2 additions and 3 deletions

View file

@ -98,8 +98,7 @@ while true; do
-I "$OMR_TRACKER_DEVICE_IP" \
-w "$OMR_TRACKER_TIMEOUT" \
-c 1 \
-q \
"$@"
-q
) && echo "$ret" | grep -sq "0% packet loss" && {
OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f4 | cut -d "." -f1)
_update_rto "$OMR_TRACKER_LATENCY"

View file

@ -4,7 +4,7 @@ config defaults 'defaults'
option timeout '1'
option tries '4'
option interval '2'
option options 'tracker.overthebox.ovh'
option options ''
config rule_type 'tunnel'
option tries '5'