diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-04 14:40:10 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-04 14:40:10 -0800 |
| commit | 16613ab5fb5a1f6cb1271ae67e68836a1898023d (patch) | |
| tree | 7645a268b922c5786985f1e4348279e2b68fa0be /node/NetworkConfig.hpp | |
| parent | c26bf45e28fcf74ce2f0adff5a67787794c30940 (diff) | |
| download | infinitytier-16613ab5fb5a1f6cb1271ae67e68836a1898023d.tar.gz infinitytier-16613ab5fb5a1f6cb1271ae67e68836a1898023d.zip | |
Clean up remote tracing code, add per-network remote trace settings, add remote trace level, and make local trace output readable again.
Diffstat (limited to 'node/NetworkConfig.hpp')
| -rw-r--r-- | node/NetworkConfig.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index 1bd3b9aa..bb48e6aa 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -49,6 +49,7 @@ #include "Dictionary.hpp" #include "Identity.hpp" #include "Utils.hpp" +#include "Trace.hpp" /** * Default maximum time delta for COMs, tags, and capabilities @@ -161,6 +162,8 @@ namespace ZeroTier { #define ZT_NETWORKCONFIG_DICT_KEY_ISSUED_TO "id" // remote trace target #define ZT_NETWORKCONFIG_DICT_KEY_REMOTE_TRACE_TARGET "tt" +// remote trace level +#define ZT_NETWORKCONFIG_DICT_KEY_REMOTE_TRACE_LEVEL "tl" // flags(hex) #define ZT_NETWORKCONFIG_DICT_KEY_FLAGS "f" // integer(hex) @@ -189,8 +192,6 @@ namespace ZeroTier { #define ZT_NETWORKCONFIG_DICT_KEY_TAGS "TAG" // tags (binary blobs) #define ZT_NETWORKCONFIG_DICT_KEY_CERTIFICATES_OF_OWNERSHIP "COO" -// curve25519 signature -#define ZT_NETWORKCONFIG_DICT_KEY_SIGNATURE "C25519" // Legacy fields -- these are obsoleted but are included when older clients query @@ -446,6 +447,11 @@ public: uint64_t flags; /** + * Remote trace level + */ + Trace::Level remoteTraceLevel; + + /** * Network MTU */ unsigned int mtu; |
