diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index b67641075..576db676a 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -227,21 +227,9 @@ namespace ZeroTier { class NetworkConfig { public: - NetworkConfig() - { - memset(this,0,sizeof(NetworkConfig)); - } - - NetworkConfig(const NetworkConfig &nc) - { - ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); - } - - inline NetworkConfig &operator=(const NetworkConfig &nc) - { - ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); - return *this; - } + NetworkConfig() { memset(this,0,sizeof(NetworkConfig)); } + NetworkConfig(const NetworkConfig &nc) { ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); } + inline NetworkConfig &operator=(const NetworkConfig &nc) { ZT_FAST_MEMCPY(this,&nc,sizeof(NetworkConfig)); return *this; } /** * Write this network config to a dictionary for transport @@ -317,13 +305,13 @@ public: } /** - * @return ZeroTier addresses of "anchor" devices on this network + * @return ZeroTier addresses of anchors that are also multicast replicators */ inline std::vector
multicastReplicators() const { std::vector r; for(unsigned int i=0;i