summaryrefslogtreecommitdiff
path: root/node/Defaults.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-26 15:35:15 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-26 15:35:15 -0700
commitdaaec84c6be11b57572ff57c97efd993385890fd (patch)
tree7cc0e3ab91ceb2ff25e74a136c88ba118f472280 /node/Defaults.hpp
parent73c1d43f2f1e0c22b21636e09be8a3e6f512faf0 (diff)
downloadinfinitytier-daaec84c6be11b57572ff57c97efd993385890fd.tar.gz
infinitytier-daaec84c6be11b57572ff57c97efd993385890fd.zip
Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead.
Diffstat (limited to 'node/Defaults.hpp')
-rw-r--r--node/Defaults.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Defaults.hpp b/node/Defaults.hpp
index 0c640df7..50c2dce5 100644
--- a/node/Defaults.hpp
+++ b/node/Defaults.hpp
@@ -64,9 +64,9 @@ public:
const std::string defaultHomePath;
/**
- * Supernodes on the ZeroTier network
+ * Supernodes on the ZeroTier network (identity, address/tcp?)
*/
- const std::map< Identity,std::vector<InetAddress> > supernodes;
+ const std::map< Identity,std::vector< std::pair<InetAddress,bool> > > supernodes;
/**
* Identities permitted to sign software updates