summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-24 17:12:53 -0500
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-24 17:12:53 -0500
commitf821db29f34d040d59b6118164bf3c7242959a0e (patch)
treec9dff323813cd8e0b5205385e9ef2be23ba39b7e /node
parent6c64f1816d116c57a44c5b208ef4d2f751e0f309 (diff)
downloadinfinitytier-f821db29f34d040d59b6118164bf3c7242959a0e.tar.gz
infinitytier-f821db29f34d040d59b6118164bf3c7242959a0e.zip
.
Diffstat (limited to 'node')
-rw-r--r--node/NetworkConfig.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp
index 576db676..3a2664a2 100644
--- a/node/NetworkConfig.hpp
+++ b/node/NetworkConfig.hpp
@@ -305,13 +305,13 @@ public:
}
/**
- * @return ZeroTier addresses of anchors that are also multicast replicators
+ * @return ZeroTier addresses of multicast replicators
*/
inline std::vector<Address> multicastReplicators() const
{
std::vector<Address> r;
for(unsigned int i=0;i<specialistCount;++i) {
- if (((specialists[i] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_ANCHOR) != 0)&&((specialists[i] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_MULTICAST_REPLICATOR) != 0))
+ if ((specialists[i] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_MULTICAST_REPLICATOR) != 0)
r.push_back(Address(specialists[i]));
}
return r;