Browse Source

Fix to NAT escalation sequence.

Adam Ierymenko 10 years ago
parent
commit
821f1f366e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Switch.cpp

+ 1 - 1
node/Switch.cpp

@@ -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++);