From 1cfa67bbdd4242a52484f13f3533babb4d4c07a6 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 14 Apr 2015 13:56:28 -0700 Subject: Bunch more control plane work, and shelve old UI -- React FTW. --- include/ZeroTierOne.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') 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 -- cgit v1.2.3