diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-01 16:33:34 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-01 16:33:34 -0800 |
commit | a577b8d3816069a448a946302048a377b55cd74a (patch) | |
tree | 62a625ac0ef302e5b3ff82fed53e830592f22461 /node | |
parent | 136fddc7f1d965aa5f4e3699195b4333131747a3 (diff) | |
download | infinitytier-a577b8d3816069a448a946302048a377b55cd74a.tar.gz infinitytier-a577b8d3816069a448a946302048a377b55cd74a.zip |
Update how controller handles circuit tests -- save results to filesystem.
Diffstat (limited to 'node')
-rw-r--r-- | node/Peer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index 1dde8b65..fa3ce6c8 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -141,10 +141,10 @@ void Peer::received( path->trustedPacketReceived(now); } - if (hops == 0) { - if (_vProto >= 9) - path->updateLinkQuality((unsigned int)(packetId & 7)); + if (_vProto >= 9) + path->updateLinkQuality((unsigned int)(packetId & 7)); + if (hops == 0) { bool pathIsConfirmed = false; { Mutex::Lock _l(_paths_m); |