summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-06 15:06:07 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-06 15:06:07 -0700
commitf2d2df2b112c8a644b718abc521af296a83b5337 (patch)
treee0ba48598b92c422b48585a1c6eed385875195da /node/Peer.cpp
parent48a374c82c89b69a71d1922c4396265394e9045f (diff)
downloadinfinitytier-f2d2df2b112c8a644b718abc521af296a83b5337.tar.gz
infinitytier-f2d2df2b112c8a644b718abc521af296a83b5337.zip
Cluster build fix.
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index c56dbca9..abbbea72 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -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