diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-27 17:34:58 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-27 17:34:58 -0700 |
commit | 821f1f366e468d1ff2f45a9e871ccec04b80fd3f (patch) | |
tree | 12797cd116cd74ec5bf9a565090b3f71ef16ee93 | |
parent | e99eda4a4a178bbdbb419791587b581431061439 (diff) | |
download | infinitytier-821f1f366e468d1ff2f45a9e871ccec04b80fd3f.tar.gz infinitytier-821f1f366e468d1ff2f45a9e871ccec04b80fd3f.zip |
Fix to NAT escalation sequence.
-rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 3d9ef5b1..18935ce5 100644 --- a/node/Switch.cpp +++ b/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++); |