summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-24 16:19:53 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-24 16:19:53 -0400
commitbbcd76ecd0c66adf73d32e2a7ab152a85af9879c (patch)
tree97d1c91058ca85848f1a2da6e44f48d7477aa420 /node
parent3de76fcab14940c0869e772de7656a1d616f08e6 (diff)
downloadinfinitytier-bbcd76ecd0c66adf73d32e2a7ab152a85af9879c.tar.gz
infinitytier-bbcd76ecd0c66adf73d32e2a7ab152a85af9879c.zip
Netconf updates -- actually issue COM, and log attempts to access networks in NetworkActivity using the new authenticated flag in the new DB schema.
Diffstat (limited to 'node')
-rw-r--r--node/Node.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 593e63bc..815451fd 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -444,6 +444,10 @@ Node::ReasonForTermination Node::run()
if (Utils::fileExists(netconfServicePath.c_str())) {
LOG("netconf.d/netconfi.service appears to exist, starting...");
_r->netconfService = new Service(_r,"netconf",netconfServicePath.c_str(),&_netconfServiceMessageHandler,_r);
+ Dictionary initMessage;
+ initMessage["type"] = "netconf-init";
+ initMessage["netconfId"] = _r->identity.toString(true);
+ _r->netconfService->send(initMessage);
}
} catch ( ... ) {
LOG("unexpected exception attempting to start services");