mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
add peer latency values in doPingAndKeepalive
This commit is contained in:
parent
ac49134aba
commit
ff2a9c88f0
1 changed files with 1 additions and 0 deletions
|
@ -581,6 +581,7 @@ unsigned int Peer::doPingAndKeepalive(void *tPtr,int64_t now)
|
||||||
}
|
}
|
||||||
_alive_path_count = alive_path_count_tmp;
|
_alive_path_count = alive_path_count_tmp;
|
||||||
_dead_path_count = dead_path_count_tmp;
|
_dead_path_count = dead_path_count_tmp;
|
||||||
|
_peer_latency.Observe(latency(now));
|
||||||
return sent;
|
return sent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue