Code to track externally visible address surface.

This commit is contained in:
Adam Ierymenko 2015-02-02 15:24:05 -08:00
commit 61cff47f5b
2 changed files with 69 additions and 0 deletions

View file

@ -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