Minor tweaks to member code in controller, and fix Linux build.
This commit is contained in:
parent
4fe9a4fe83
commit
2fc3d12fb6
3 changed files with 7 additions and 8 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue