summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-17 13:41:45 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-17 13:41:45 -0700
commitb72847d50404f4d751184d9977e7bba23050a797 (patch)
treea735b68d0e6038c30bc53aaabc40e52dff11078c /node
parent168b86fdcd8f2a590ea59710dfbfb67c8d8c5cef (diff)
downloadinfinitytier-b72847d50404f4d751184d9977e7bba23050a797.tar.gz
infinitytier-b72847d50404f4d751184d9977e7bba23050a797.zip
Finally implement network join auth tokens, at least at the protocol level.
Diffstat (limited to 'node')
-rw-r--r--node/NetworkConfig.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp
index 18244ec9..25e0ccaf 100644
--- a/node/NetworkConfig.hpp
+++ b/node/NetworkConfig.hpp
@@ -101,6 +101,9 @@ namespace ZeroTier {
// Maximum number of tags this node can accept
#define ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_MAX_NETWORK_TAGS "mt"
+// Network join authorization token (if any)
+#define ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_AUTH_TOKEN "atok"
+
// These dictionary keys are short so they don't take up much room.
// By convention we use upper case for binary blobs, but it doesn't really matter.