mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Fix to NAT escalation sequence.
This commit is contained in:
parent
e99eda4a4a
commit
821f1f366e
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ unsigned long Switch::doTimerTasks(uint64_t now)
|
||||||
if (p < 0xffff) {
|
if (p < 0xffff) {
|
||||||
tmpaddr.setPort((unsigned int)p);
|
tmpaddr.setPort((unsigned int)p);
|
||||||
qi->peer->attemptToContactAt(RR,tmpaddr,now);
|
qi->peer->attemptToContactAt(RR,tmpaddr,now);
|
||||||
} else qi->strategyIteration = 9;
|
} else qi->strategyIteration = 5;
|
||||||
} else {
|
} else {
|
||||||
// All strategies tried, expire entry
|
// All strategies tried, expire entry
|
||||||
_contactQueue.erase(qi++);
|
_contactQueue.erase(qi++);
|
||||||
|
|
Loading…
Add table
Reference in a new issue