ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff.

This commit is contained in:
Adam Ierymenko 2017-03-01 14:36:52 -08:00
parent 2bf9145ae6
commit 1d39be61b2
9 changed files with 111 additions and 22 deletions

View file

@ -142,6 +142,9 @@ void Peer::received(
}
if (hops == 0) {
if (_vProto >= 9)
path->updateLinkQuality((unsigned int)(packetId & 7));
bool pathIsConfirmed = false;
{
Mutex::Lock _l(_paths_m);