diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-06 15:06:07 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-06 15:06:07 -0700 |
| commit | f2d2df2b112c8a644b718abc521af296a83b5337 (patch) | |
| tree | e0ba48598b92c422b48585a1c6eed385875195da /node/Peer.cpp | |
| parent | 48a374c82c89b69a71d1922c4396265394e9045f (diff) | |
| download | infinitytier-f2d2df2b112c8a644b718abc521af296a83b5337.tar.gz infinitytier-f2d2df2b112c8a644b718abc521af296a83b5337.zip | |
Cluster build fix.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 2 |
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 |
