mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-20 09:46:13 +00:00
Fix infinite loop bug introduced in last commit.
This commit is contained in:
parent
d04e5a1fe0
commit
d7bc3c6f4a
@ -172,6 +172,8 @@ SharedPtr<Peer> Topology::getBestSupernode(const Address *avoid,unsigned int avo
|
||||
bestSupernode = *sn;
|
||||
}
|
||||
}
|
||||
|
||||
++sn;
|
||||
}
|
||||
|
||||
if (bestSupernode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user