From d97adc8789c2a38d0106c83b0f02522f9cf0d7dd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 3 Nov 2017 12:32:56 -0700 Subject: Preparing for test. --- controller/EmbeddedNetworkController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'controller/EmbeddedNetworkController.cpp') diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 31448cc3..e8e0f5be 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1064,7 +1064,6 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpDELETE( void EmbeddedNetworkController::handleRemoteTrace(const ZT_RemoteTrace &rt) { - /* static volatile unsigned long idCounter = 0; char id[128],tmp[128]; std::string k,v; @@ -1107,10 +1106,10 @@ void EmbeddedNetworkController::handleRemoteTrace(const ZT_RemoteTrace &rt) d["objtype"] = "trace"; d["ts"] = now; d["nodeId"] = Utils::hex10(rt.origin,tmp); + _db.save(d); } catch ( ... ) { // drop invalid trace messages if an error occurs } - */ } void EmbeddedNetworkController::onNetworkUpdate(const uint64_t networkId) -- cgit v1.2.3