summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-20 20:07:35 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-20 20:07:35 -0700
commitba3f04deedb3a09e8683b2507b7c2176e87e3766 (patch)
tree5acc2fbbabdd68f7327586cf773b243921846557 /node/Node.cpp
parent45e823d27ca83bf893e69c692ef9a842c97e5ffe (diff)
downloadinfinitytier-ba3f04deedb3a09e8683b2507b7c2176e87e3766.tar.gz
infinitytier-ba3f04deedb3a09e8683b2507b7c2176e87e3766.zip
Work in progress: refactoring paths, adding TCP fallback.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 21d78f54..a4f2c3af 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -590,6 +590,7 @@ Node::ReasonForTermination Node::run()
* which will trigger a new RENDEZVOUS and a new hole punch. This
* functor excludes supernodes, which are pinged separately above. */
_r->topology->eachPeer(Topology::ResetActivePeers(_r,now));
+ _r->sm->closeTcpSockets();
} else {
// Periodically check for changes in our local multicast subscriptions
// and broadcast those changes to directly connected peers.