diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-14 13:56:28 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-14 13:56:28 -0700 |
commit | 1cfa67bbdd4242a52484f13f3533babb4d4c07a6 (patch) | |
tree | d772b3b7cc40371afaa494c4e623511133e0e33e /include | |
parent | a2605561af19d7de7ed492d1faf00d7ff161c6ea (diff) | |
download | infinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.tar.gz infinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.zip |
Bunch more control plane work, and shelve old UI -- React FTW.
Diffstat (limited to 'include')
-rw-r--r-- | include/ZeroTierOne.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 870255f1..fa4c48d6 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -524,6 +524,16 @@ typedef struct * Is path fixed? (i.e. not learned, static) */ int fixed; + + /** + * Is path active? + */ + int active; + + /** + * Is path preferred? + */ + int preferred; } ZT1_PeerPhysicalPath; /** @@ -796,6 +806,9 @@ enum ZT1_ResultCode ZT1_Node_processBackgroundTasks(ZT1_Node *node,uint64_t now, * This may generate calls to the port config callback before it returns, * or these may be deffered if a netconf is not available yet. * + * If we are already a member of the network, nothing is done and OK is + * returned. + * * @param node Node instance * @param nwid 64-bit ZeroTier network ID * @return OK (0) or error code if a fatal error condition has occurred |