diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-06 20:17:21 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-06 20:17:21 -0700 |
| commit | a2821e90007ac7af490f044f0c2579309f6c8a01 (patch) | |
| tree | c0d1a71bbbd790ffd6a23e7864cc595c2013d912 /node/RuntimeEnvironment.hpp | |
| parent | 76ad19f4113c5bf39cb82aaf9f4d557315d3b9df (diff) | |
| download | infinitytier-a2821e90007ac7af490f044f0c2579309f6c8a01.tar.gz infinitytier-a2821e90007ac7af490f044f0c2579309f6c8a01.zip | |
Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 9600b9dc..1ca483ef 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -44,6 +44,7 @@ class Node; class Multicaster; class AntiRecursion; class NetworkConfigMaster; +class SelfAwareness; /** * Holds global state for an instance of ZeroTier::Node @@ -69,7 +70,8 @@ public: sw((Switch *)0), mc((Multicaster *)0), antiRec((AntiRecursion *)0), - topology((Topology *)0) + topology((Topology *)0), + sa((SelfAwareness *)0) { } @@ -96,6 +98,7 @@ public: Multicaster *mc; AntiRecursion *antiRec; Topology *topology; + SelfAwareness *sa; }; } // namespace ZeroTier |
