summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 17:22:59 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 17:22:59 -0700
commit7578b5629849f6c286c353dce713b0816b1cc4a9 (patch)
treeeeb37a23e8120d1e078fd62574bd30e868acd15a
parent2599b1bacc2b34ca797eca76d079262f34c93366 (diff)
downloadinfinitytier-7578b5629849f6c286c353dce713b0816b1cc4a9.tar.gz
infinitytier-7578b5629849f6c286c353dce713b0816b1cc4a9.zip
docs
-rw-r--r--include/ZeroTierOne.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index dc2243f2..8583aa3a 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -967,11 +967,15 @@ void ZT1_Node_freeQueryResult(ZT1_Node *node,void *qr);
* Take care that these are never ZeroTier interface addresses, otherwise
* strange things might happen or they simply won't work.
*
+ * Addresses can also be added here if they are the result of a UPnP or
+ * NAT-PMP port mapping or other discovery or mapping means.
+ *
* This returns a boolean indicating whether or not the address was
* accepted. ZeroTier will only communicate over certain address types
* and (for IP) address classes. Thus it's safe to just dump your OS's
* entire remote IP list (excluding ZeroTier interface IPs) into here
- * and let ZeroTier determine which addresses it will use.
+ * and let ZeroTier determine which addresses it will use. It will
+ * reject bad, empty, and unusable addresses.
*
* @param addr Local interface address
* @param metric Local interface metric