mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-21 10:01:46 +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;
|
bestSupernode = *sn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
++sn;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bestSupernode) {
|
if (bestSupernode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user