diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-01 14:36:52 -0800 | 
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-01 14:36:52 -0800 | 
| commit | 1d39be61b267a85adebeee9e979bd1d84f55da3c (patch) | |
| tree | 2fa5efbe2406a9a60686c1de422ff2c574802ba5 /node/Peer.cpp | |
| parent | 2bf9145ae65385bf968542619ffcf204cf6241d8 (diff) | |
| download | infinitytier-1d39be61b267a85adebeee9e979bd1d84f55da3c.tar.gz infinitytier-1d39be61b267a85adebeee9e979bd1d84f55da3c.zip | |
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.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/node/Peer.cpp b/node/Peer.cpp index c4c8774e..1dde8b65 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -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); | 
