summaryrefslogtreecommitdiff
path: root/controller/EmbeddedNetworkController.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-03 12:32:56 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-03 12:32:56 -0700
commitd97adc8789c2a38d0106c83b0f02522f9cf0d7dd (patch)
tree6cbb85d0f6e36e34f593a49c7d1f7c516e809a38 /controller/EmbeddedNetworkController.cpp
parentf5014d7d7179a77311f58f8bd0dced0ea83f2885 (diff)
downloadinfinitytier-d97adc8789c2a38d0106c83b0f02522f9cf0d7dd.tar.gz
infinitytier-d97adc8789c2a38d0106c83b0f02522f9cf0d7dd.zip
Preparing for test.
Diffstat (limited to 'controller/EmbeddedNetworkController.cpp')
-rw-r--r--controller/EmbeddedNetworkController.cpp3
1 files changed, 1 insertions, 2 deletions
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)