diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 15:40:54 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 15:40:54 -0700 |
| commit | 5076c49210542243075556aa1ab74f33d4d50ba3 (patch) | |
| tree | 6e026aec5b56c82aaf30939fb00879e03a1ca23f /node/Path.hpp | |
| parent | 72e7e36a5b6eadcb9c2ce016269ef5bc9a54b13c (diff) | |
| download | infinitytier-5076c49210542243075556aa1ab74f33d4d50ba3.tar.gz infinitytier-5076c49210542243075556aa1ab74f33d4d50ba3.zip | |
Peer serialization and related changes.
Diffstat (limited to 'node/Path.hpp')
| -rw-r--r-- | node/Path.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node/Path.hpp b/node/Path.hpp index 8d662ff7..6a69e071 100644 --- a/node/Path.hpp +++ b/node/Path.hpp @@ -59,11 +59,11 @@ public: * * These values MUST match ZT_LocalInterfaceAddressTrust in ZeroTierOne.h */ - enum Trust + enum Trust // NOTE: max 255 { TRUST_NORMAL = 0, - TRUST_PRIVACY = 1, - TRUST_ULTIMATE = 2 + TRUST_PRIVACY = 10, + TRUST_ULTIMATE = 20 }; Path() : @@ -155,7 +155,7 @@ public: return false; } -private: +protected: InetAddress _addr; InetAddress::IpScope _ipScope; // memoize this since it's a computed value checked often Trust _trust; |
