summaryrefslogtreecommitdiff
path: root/node/Topology.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-27 17:02:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-27 17:02:43 -0700
commitf0003ea92277039f70dd6f16920dd2db9fb2fb1e (patch)
treec5f67fe41f7cfc78dbb00ceb151e419d81aff2a8 /node/Topology.hpp
parente30ba3e1382b50aa8f393132204f8f27ccfb03f9 (diff)
downloadinfinitytier-f0003ea92277039f70dd6f16920dd2db9fb2fb1e.tar.gz
infinitytier-f0003ea92277039f70dd6f16920dd2db9fb2fb1e.zip
Push remote surface as reported by peers along with known interface direct paths to assist with (some) NAT traversal. (trying this, may back out if not effective)
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r--node/Topology.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp
index c878bcc6..1c5cca00 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -86,7 +86,7 @@ public:
/**
* Get a peer from its address
- *
+ *
* @param zta ZeroTier address of peer
* @return Peer or NULL if not found
*/
@@ -103,7 +103,7 @@ public:
/**
* Get the current favorite root server
- *
+ *
* @return Root server with lowest latency or NULL if none
*/
inline SharedPtr<Peer> getBestRoot()
@@ -113,11 +113,11 @@ public:
/**
* Get the best root server, avoiding root servers listed in an array
- *
+ *
* This will get the best root server (lowest latency, etc.) but will
* try to avoid the listed root servers, only using them if no others
* are available.
- *
+ *
* @param avoid Nodes to avoid
* @param avoidCount Number of nodes to avoid
* @param strictAvoid If false, consider avoided root servers anyway if no non-avoid root servers are available