From 46f868bd4fb2fd7b0816ded98974935aacddf5e6 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 16 Oct 2013 17:47:26 -0400 Subject: Lots of cleanup, more work on certificates, some security fixes. --- node/Node.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/Node.cpp') diff --git a/node/Node.cpp b/node/Node.cpp index 1efbf7b5..fe95701a 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -246,6 +246,8 @@ static void _netconfServiceMessageHandler(void *renv,Service &svc,const Dictiona const std::string &err = msg.get("error"); if (err == "OBJ_NOT_FOUND") errCode = Packet::ERROR_OBJ_NOT_FOUND; + else if (err == "ACCESS_DENIED") + errCode = Packet::ERROR_NETWORK_ACCESS_DENIED; Packet outp(peerAddress,_r->identity.address(),Packet::VERB_ERROR); outp.append((unsigned char)Packet::VERB_NETWORK_CONFIG_REQUEST); -- cgit v1.2.3