summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-14 13:49:49 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-14 13:49:49 -0700
commit9d7b7c72b2dd769853bea3423321539ab198829e (patch)
treedb1a038d5cda0a023b63b449a2b0c53ce9b96428 /node/Peer.cpp
parentd7a6357393f25748e4256d6ccf1321d7532d02b9 (diff)
parent95bfc29c92f1c689f181142d226ad642f86cee10 (diff)
downloadinfinitytier-9d7b7c72b2dd769853bea3423321539ab198829e.tar.gz
infinitytier-9d7b7c72b2dd769853bea3423321539ab198829e.zip
Merge branch 'dev' into edge
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index 9f8c5bbc..aecbd3a0 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -78,9 +78,7 @@ Peer::Peer(const RuntimeEnvironment *renv,const Identity &myIdentity,const Ident
Utils::getSecureRandom(&_freeRandomByte, 1);
if (!myIdentity.agree(peerIdentity,_key,ZT_PEER_SECRET_KEY_LENGTH))
throw ZT_EXCEPTION_INVALID_ARGUMENT;
-#if ZT_PROTO_VERSION >= 10
_pathChoiceHist = new RingBuffer<int>(ZT_MULTIPATH_PROPORTION_WIN_SZ);
-#endif
}
void Peer::received(