summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-02-22 12:59:26 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-02-22 12:59:26 -0800
commit43fff1a87ec86470f7f4fe5887d4bf444d1d1b9f (patch)
tree41c27a946aa22bf066ceafe643fa9e578f728125 /node/IncomingPacket.cpp
parent2aa7138373b3d61bf5d6ec8026192ef82a3d6ec3 (diff)
downloadinfinitytier-43fff1a87ec86470f7f4fe5887d4bf444d1d1b9f.tar.gz
infinitytier-43fff1a87ec86470f7f4fe5887d4bf444d1d1b9f.zip
Deprecate reporting of local clock in circuit tests since a small number of users might have security problems with this.
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r--node/IncomingPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 66c956b3..8a180380 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -1078,7 +1078,7 @@ bool IncomingPacket::_doCIRCUIT_TEST(const RuntimeEnvironment *RR,const SharedPt
Packet outp(originatorAddress,RR->identity.address(),Packet::VERB_CIRCUIT_TEST_REPORT);
outp.append((uint64_t)timestamp);
outp.append((uint64_t)testId);
- outp.append((uint64_t)now);
+ outp.append((uint64_t)0); // field reserved for future use
outp.append((uint8_t)ZT_VENDOR_ZEROTIER);
outp.append((uint8_t)ZT_PROTO_VERSION);
outp.append((uint8_t)ZEROTIER_ONE_VERSION_MAJOR);