summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2019-03-11 09:44:40 -0700
committerGrant Limberg <grant.limberg@zerotier.com>2019-03-11 09:44:40 -0700
commitd4c0349de9546b31a0d029004ff8af92ab451a05 (patch)
tree1cbc6ee4cfc31631461ea7fa68246950db992878 /node/Peer.cpp
parent993d850f697dbedd5c8967f7fab482af923df926 (diff)
downloadinfinitytier-d4c0349de9546b31a0d029004ff8af92ab451a05.tar.gz
infinitytier-d4c0349de9546b31a0d029004ff8af92ab451a05.zip
Revert "#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10"
This reverts commit 270debb3fc39c3f1f6a3f6fbc2c5fb6183182c8f.
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(