From a2821e90007ac7af490f044f0c2579309f6c8a01 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 6 Apr 2015 20:17:21 -0700 Subject: Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz. --- node/RuntimeEnvironment.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'node/RuntimeEnvironment.hpp') 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 -- cgit v1.2.3