Fix to NAT escalation sequence.

This commit is contained in:
Adam Ierymenko 2015-07-27 17:34:58 -07:00
parent e99eda4a4a
commit 821f1f366e

View File

@ -470,7 +470,7 @@ unsigned long Switch::doTimerTasks(uint64_t now)
if (p < 0xffff) {
tmpaddr.setPort((unsigned int)p);
qi->peer->attemptToContactAt(RR,tmpaddr,now);
} else qi->strategyIteration = 9;
} else qi->strategyIteration = 5;
} else {
// All strategies tried, expire entry
_contactQueue.erase(qi++);