summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-08 13:57:02 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-08 13:57:02 -0800
commit57b71bfff0dc50505495e64b75988227d4b85905 (patch)
tree018360d5330a96c10c83224a33216bb1693fca3f /node/Peer.cpp
parent6bc8c9d8efd05c7f85ac269be29c781fcc40672b (diff)
downloadinfinitytier-57b71bfff0dc50505495e64b75988227d4b85905.tar.gz
infinitytier-57b71bfff0dc50505495e64b75988227d4b85905.zip
Cluster simplification and refactor work in progress...
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index 52727c78..6f987da2 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -156,14 +156,7 @@ void Peer::received(
}
}
- if (pathIsConfirmed) {
-
-#ifdef ZT_ENABLE_CLUSTER
- if ((RR->cluster)&&(verb == Packet::VERB_HELLO))
- RR->cluster->replicateHavePeer(_id);
-#endif
-
- } else {
+ if (!pathIsConfirmed) {
if (verb == Packet::VERB_OK) {
Path *slot = (Path *)0;
@@ -186,11 +179,6 @@ void Peer::received(
_sortPaths(now);
}
-#ifdef ZT_ENABLE_CLUSTER
- if (RR->cluster)
- RR->cluster->replicateHavePeer(_id);
-#endif
-
} else {
/* If this path is not known, send a HELLO. We don't learn