summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-07 16:25:08 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-07 16:25:08 -0700
commitfea1b6b2c3d004ad53c5997800229c070ccee79b (patch)
tree6d3d972c88f64ec895cceb3dcd45886b2e935c2b
parent0ce0bc00d220ba67af03bf0cc01c8fe9f9104039 (diff)
downloadinfinitytier-fea1b6b2c3d004ad53c5997800229c070ccee79b.tar.gz
infinitytier-fea1b6b2c3d004ad53c5997800229c070ccee79b.zip
docs
-rw-r--r--node/Packet.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 6f3cb72f..1c7a6f5e 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -365,6 +365,10 @@ namespace ZeroTier {
* immutable. This is because intermediate nodes can increment the hop
* count up to 7 (protocol max).
*
+ * A hop count of 7 also indicates that receiving peers should not attempt
+ * to learn direct paths from this packet. (Right now direct paths are only
+ * learned from direct packets anyway.)
+ *
* http://tonyarcieri.com/all-the-crypto-code-youve-ever-written-is-probably-broken
*
* For unencrypted packets, MAC is computed on plaintext. Only HELLO is ever