mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-14 21:28:17 +00:00
Minor tweaks to member code in controller, and fix Linux build.
This commit is contained in:
@ -1004,12 +1004,7 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpGET(
|
||||
if (!member.size())
|
||||
return 404;
|
||||
|
||||
char addrs[24];
|
||||
Utils::snprintf(addrs,sizeof(addrs),"%.10llx",address);
|
||||
|
||||
// Add non-persisted fields
|
||||
member["clock"] = OSUtils::now();
|
||||
|
||||
_addMemberNonPersistedFields(member,now);
|
||||
responseBody = member.dump(2);
|
||||
responseContentType = "application/json";
|
||||
|
||||
|
Reference in New Issue
Block a user