浏览代码

Fix to NAT escalation sequence.

Adam Ierymenko 10 年之前
父节点
当前提交
821f1f366e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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++);