mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-22 00:57:14 +00:00
Docs, Node picks a default home folder if created with NULL as its home path, and add binary tap drivers (self-signed for now).
This commit is contained in:
@ -258,8 +258,9 @@ Node::Node(const char *hp)
|
||||
{
|
||||
_NodeImpl *impl = (_NodeImpl *)_impl;
|
||||
|
||||
impl->renv.homePath = hp;
|
||||
|
||||
if (hp)
|
||||
impl->renv.homePath = hp;
|
||||
else impl->renv.homePath = ZT_DEFAULTS.defaultHomePath;
|
||||
impl->reasonForTermination = Node::NODE_RUNNING;
|
||||
impl->started = false;
|
||||
impl->running = false;
|
||||
|
Reference in New Issue
Block a user