diff options
| author | Joseph Henry <josephjah@gmail.com> | 2018-06-14 16:34:45 -0700 |
|---|---|---|
| committer | Joseph Henry <josephjah@gmail.com> | 2018-06-14 16:34:45 -0700 |
| commit | 17fbb020e733fab8d8be933bb4981927015a10f5 (patch) | |
| tree | 65147665e41c3c60b44b916ff4825afb07c9836c /node/Peer.cpp | |
| parent | f8005b88adfe93af477528bec748882da8fa9bea (diff) | |
| download | infinitytier-17fbb020e733fab8d8be933bb4981927015a10f5.tar.gz infinitytier-17fbb020e733fab8d8be933bb4981927015a10f5.zip | |
Added multipath field to zerotier-cli status output. Adjusted how path estimates are computed and cached
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index 55132bba..0f471b07 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -116,7 +116,7 @@ void Peer::received( } for(unsigned int i=0;i<ZT_MAX_PEER_NETWORK_PATHS;++i) { if (_paths[i].p) { - _paths[i].p->processBackgroundPathMeasurements(now, _id.address().toInt()); + _paths[i].p->processBackgroundPathMeasurements(now); } } } @@ -415,7 +415,7 @@ SharedPtr<Path> Peer::getAppropriatePath(int64_t now, bool includeExpired) for(unsigned int i=0;i<ZT_MAX_PEER_NETWORK_PATHS;++i) { if (_paths[i].p) { - _paths[i].p->processBackgroundPathMeasurements(now, _id.address().toInt()); + _paths[i].p->processBackgroundPathMeasurements(now); } } |
