mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Code to track externally visible address surface.
This commit is contained in:
parent
c30bf7957e
commit
61cff47f5b
2 changed files with 69 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "Packet.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include "Dictionary.hpp"
|
||||
#include "ExternalSurface.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
@ -374,6 +375,8 @@ private:
|
|||
std::vector< Address > _supernodeAddresses;
|
||||
std::vector< SharedPtr<Peer> > _supernodePeers;
|
||||
|
||||
ExternalSurface _surface;
|
||||
|
||||
Mutex _lock;
|
||||
|
||||
// Set to true if my identity is in _supernodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue