summaryrefslogtreecommitdiff
path: root/osdep/ManagedRoute.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2016-07-14 19:29:10 -0700
committerGrant Limberg <glimberg@gmail.com>2016-07-14 19:29:10 -0700
commit2afe3d89d00c0336db3e293d2e9dbd8d0e0083e7 (patch)
treef07d029f5a76ac3cbea1ac92491e2cfa59391572 /osdep/ManagedRoute.hpp
parent8a15b42dabbacd522bfc7c2042591fa71692136c (diff)
parentbdc3b0834bb8abc621ee6dbc9a92769b57376bee (diff)
downloadinfinitytier-2afe3d89d00c0336db3e293d2e9dbd8d0e0083e7.tar.gz
infinitytier-2afe3d89d00c0336db3e293d2e9dbd8d0e0083e7.zip
Merge branch 'master' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne
Diffstat (limited to 'osdep/ManagedRoute.hpp')
-rw-r--r--osdep/ManagedRoute.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/ManagedRoute.hpp b/osdep/ManagedRoute.hpp
index 5dde12ad..63310f24 100644
--- a/osdep/ManagedRoute.hpp
+++ b/osdep/ManagedRoute.hpp
@@ -54,8 +54,8 @@ public:
* "device name."
*
* @param target Route target (e.g. 0.0.0.0/0 for default)
- * @param via Route next L3 hop or NULL InetAddress if local
- * @param device Device name/ID if 'via' is null and route is local, otherwise ignored
+ * @param via Route next L3 hop or NULL InetAddress if local in which case it will be routed via device
+ * @param device Name or hex LUID of ZeroTier device (e.g. zt#)
* @return True if route was successfully set
*/
inline bool set(const InetAddress &target,const InetAddress &via,const char *device)