Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller.

This commit is contained in:
Adam Ierymenko 2016-08-24 14:28:16 -07:00
parent 90bd3e07a0
commit ccea3d04d6
6 changed files with 68 additions and 0 deletions

View file

@ -1081,6 +1081,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
_writeJson(_memberJP(nwid,Address(address),true).c_str(),member);
_node->pushNetworkRefresh(address,nwid,(const uint64_t *)0,(const uint64_t *)0,0);
// Add non-persisted fields
member["clock"] = now;