Cluster simplification and refactor work in progress...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user