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