mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
Fix a couple compile items.
This commit is contained in:
parent
f80ec871f6
commit
ffffc0179f
@ -51,6 +51,7 @@ const char *Network::statusString(const Status s)
|
||||
case NETWORK_OK: return "OK";
|
||||
case NETWORK_ACCESS_DENIED: return "ACCESS_DENIED";
|
||||
case NETWORK_NOT_FOUND: return "NOT_FOUND";
|
||||
case NETWORK_INITIALIZATION_FAILED: return "INITIALIZATION_FAILED";
|
||||
}
|
||||
return "(invalid)";
|
||||
}
|
||||
@ -266,6 +267,7 @@ void Network::_pushMembershipCertificate(const Address &peer,bool force,uint64_t
|
||||
}
|
||||
|
||||
void Network::threadMain()
|
||||
throw()
|
||||
{
|
||||
try {
|
||||
// Setup thread -- this exits when tap is constructed. It's here
|
||||
|
@ -268,6 +268,8 @@ public:
|
||||
if (_lastConfigUpdate > 0)
|
||||
return NETWORK_OK;
|
||||
else return NETWORK_WAITING_FOR_FIRST_AUTOCONF;
|
||||
case NETCONF_FAILURE_INIT_FAILED:
|
||||
return NETWORK_INITIALIZATION_FAILED;
|
||||
}
|
||||
} else if (_netconfFailure == NETCONF_FAILURE_INIT_FAILED)
|
||||
return NETWORK_INITIALIZATION_FAILED;
|
||||
|
Loading…
Reference in New Issue
Block a user