mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Set some status via tracker
This commit is contained in:
parent
910c6f5ee9
commit
77b071dd02
3 changed files with 21 additions and 3 deletions
|
@ -86,7 +86,7 @@ _ping() {
|
|||
"${host}"
|
||||
) && echo "$ret" | grep -sq "0% packet loss" && {
|
||||
if [ "$localip" = "yes" ]; then
|
||||
OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f4 | cut -d "." -f1)
|
||||
OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f5 | cut -d "." -f1)
|
||||
_update_rto "$OMR_TRACKER_LATENCY"
|
||||
fi
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue