Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz.
This commit is contained in:
parent
76ad19f411
commit
a2821e9000
6 changed files with 83 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue