summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index dd6b50a2..e6910a56 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -220,8 +220,8 @@ static void _netconfServiceMessageHandler(void *renv,Service &svc,const Dictiona
if (msg.contains("error")) {
Packet::ErrorCode errCode = Packet::ERROR_INVALID_REQUEST;
const std::string &err = msg.get("error");
- if (err == "NOT_FOUND")
- errCode = Packet::ERROR_NOT_FOUND;
+ if (err == "OBJ_NOT_FOUND")
+ errCode = Packet::ERROR_OBJ_NOT_FOUND;
Packet outp(peerAddress,_r->identity.address(),Packet::VERB_ERROR);
outp.append((unsigned char)Packet::VERB_NETWORK_CONFIG_REQUEST);