Cluster build fix.

This commit is contained in:
Adam Ierymenko 2016-09-06 15:06:07 -07:00
parent 48a374c82c
commit f2d2df2b11
3 changed files with 4 additions and 4 deletions

View file

@ -175,7 +175,7 @@ void Peer::received(
_paths[slot].lastReceive = now;
_paths[slot].path = path;
#ifdef ZT_ENABLE_CLUSTER
_paths[p].localClusterSuboptimal = suboptimalPath;
_paths[slot].localClusterSuboptimal = suboptimalPath;
if (RR->cluster)
RR->cluster->broadcastHavePeer(_id);
#endif