summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-02-02 17:02:23 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-02-02 17:02:23 -0800
commiteeed31b39639df7e89a2e8ae641d0c3939fa4078 (patch)
tree201587d3c15a35eb0f8fe27601ffed0158e232c1 /node/Node.cpp
parentb7148c107d04ba7b71577c764e88a02098d23480 (diff)
downloadinfinitytier-eeed31b39639df7e89a2e8ae641d0c3939fa4078.tar.gz
infinitytier-eeed31b39639df7e89a2e8ae641d0c3939fa4078.zip
Ping supernodes on surface change, and also reset TCP flag.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 8999642b..9eff2056 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -468,12 +468,7 @@ Node::ReasonForTermination Node::run()
}
if (resynchronize) {
- /* Send NOP to all peers on resynchronize, directly to supernodes and
- * indirectly to regular nodes (to trigger RENDEZVOUS). Also clear
- * learned paths since they're likely no longer valid, and close
- * TCP sockets since they're also likely invalid. */
RR->sm->closeTcpSockets();
- RR->topology->eachPeer(Topology::ResetActivePeers(RR,now));
} else {
/* Periodically check for changes in our local multicast subscriptions
* and broadcast those changes to directly connected peers. */