diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 7a599d448..8f013464d 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -607,7 +607,7 @@ NetworkController::ResultCode EmbeddedNetworkController::doNetworkConfigRequest( json recentLog = json::array(); recentLog.push_back(rlEntry); - auto oldLog = member["recentLog"]; + json &oldLog = member["recentLog"]; if (oldLog.is_array()) { for(unsigned long i=0;i