mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Fix infinite loop bug introduced in last commit.
This commit is contained in:
parent
d04e5a1fe0
commit
d7bc3c6f4a
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ SharedPtr<Peer> Topology::getBestSupernode(const Address *avoid,unsigned int avo
|
|||
bestSupernode = *sn;
|
||||
}
|
||||
}
|
||||
|
||||
++sn;
|
||||
}
|
||||
|
||||
if (bestSupernode) {
|
||||
|
|
Loading…
Add table
Reference in a new issue