diff options
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 |