From bbcd76ecd0c66adf73d32e2a7ab152a85af9879c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 24 Oct 2013 16:19:53 -0400 Subject: Netconf updates -- actually issue COM, and log attempts to access networks in NetworkActivity using the new authenticated flag in the new DB schema. --- node/Node.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node') 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"); -- cgit v1.2.3