Fix to NAT escalation sequence.
This commit is contained in:
@@ -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++);
|
||||||
|
|||||||
Reference in New Issue
Block a user