summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp2
1 files changed, 2 insertions, 0 deletions
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);