diff options
| author | Joseph Henry <josephjah@gmail.com> | 2018-05-01 16:32:15 -0700 |
|---|---|---|
| committer | Joseph Henry <josephjah@gmail.com> | 2018-05-01 16:32:15 -0700 |
| commit | 6a2ba4baca326272c45930208b70cfedf8cb1638 (patch) | |
| tree | 434403aecca63908909678bd234ef8b4ffb1d1e4 /node/Multicaster.cpp | |
| parent | 836d897aecc193ec3477e67858237a3f97819024 (diff) | |
| download | infinitytier-6a2ba4baca326272c45930208b70cfedf8cb1638.tar.gz infinitytier-6a2ba4baca326272c45930208b70cfedf8cb1638.zip | |
Introduced basic multipath support
Diffstat (limited to 'node/Multicaster.cpp')
| -rw-r--r-- | node/Multicaster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Multicaster.cpp b/node/Multicaster.cpp index 753e4ee0..b2a5a205 100644 --- a/node/Multicaster.cpp +++ b/node/Multicaster.cpp @@ -190,7 +190,7 @@ void Multicaster::send( for(unsigned int i=0;i<multicastReplicatorCount;++i) { const SharedPtr<Peer> p(RR->topology->getPeerNoCache(multicastReplicators[i])); if ((p)&&(p->isAlive(now))) { - const SharedPtr<Path> pp(p->getBestPath(now,false)); + const SharedPtr<Path> pp(p->getAppropriatePath(now,false)); if ((pp)&&(pp->latency() < bestMulticastReplicatorLatency)) { bestMulticastReplicatorLatency = pp->latency(); bestMulticastReplicatorPath = pp; |
