From 384e5b66decbbe3eda00b95690c6a56cb140c4f7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 25 Jan 2018 14:16:07 -0500 Subject: More work on GitHub issue #666 --- node/NetworkConfig.hpp | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'node/NetworkConfig.hpp') diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index ebe0d70e..00f5d80f 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -292,9 +292,6 @@ public: return r; } - /** - * @return ZeroTier addresses of "anchor" devices on this network - */ inline std::vector
anchors() const { std::vector
r; @@ -305,9 +302,6 @@ public: return r; } - /** - * @return ZeroTier addresses of multicast replicators - */ inline std::vector
multicastReplicators() const { std::vector
r; @@ -318,10 +312,17 @@ public: return r; } - /** - * Add addresses that we should attempt to stay connected to to a set - */ - inline void getAlwaysContactAddresses(Hashtable< Address,std::vector > &a) const + inline std::vector
alwaysContactAddresses() const + { + std::vector
r; + for(unsigned int i=0;i > &a) const { for(unsigned int i=0;i