From d4c0349de9546b31a0d029004ff8af92ab451a05 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 11 Mar 2019 09:44:40 -0700 Subject: Revert "#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10" This reverts commit 270debb3fc39c3f1f6a3f6fbc2c5fb6183182c8f. --- node/Peer.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'node/Peer.cpp') 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(ZT_MULTIPATH_PROPORTION_WIN_SZ); -#endif } void Peer::received( -- cgit v1.2.3