diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-17 16:31:58 -0800 | 
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-17 16:31:58 -0800 | 
| commit | 1615ef1114de4627e6952d96c62c1d561f8bd03c (patch) | |
| tree | aa41873eb3edf033b09a00f756719109fef5ebcf /node/Multicaster.cpp | |
| parent | bf8d71e82c27eae1e47bde411054f5258df29146 (diff) | |
| download | infinitytier-1615ef1114de4627e6952d96c62c1d561f8bd03c.tar.gz infinitytier-1615ef1114de4627e6952d96c62c1d561f8bd03c.zip  | |
Rename getBestRoot() etc.
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 17649c7b..f8d58501 100644 --- a/node/Multicaster.cpp +++ b/node/Multicaster.cpp @@ -229,7 +229,7 @@ void Multicaster::send(  				Address explicitGatherPeers[16];  				unsigned int numExplicitGatherPeers = 0; -				SharedPtr<Peer> bestRoot(RR->topology->getBestRoot()); +				SharedPtr<Peer> bestRoot(RR->topology->getUpstreamPeer());  				if (bestRoot)  					explicitGatherPeers[numExplicitGatherPeers++] = bestRoot->address();  				explicitGatherPeers[numExplicitGatherPeers++] = Network::controllerFor(nwid);  | 
