From f9a9c2d009c719c5dfcb1897b9a9a48cf6b17487 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 23 May 2017 14:45:16 -0700 Subject: Config object was never even being initialized on leave. Never noticed since desktop and server clients did not use. --- node/Node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node') diff --git a/node/Node.cpp b/node/Node.cpp index 5848d953..6d7eea43 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -327,6 +327,7 @@ ZT_ResultCode Node::leave(uint64_t nwid,void **uptr,void *tptr) } else { if (uptr) *uptr = *n->second->userPtr(); + n->second->externalConfig(&ctmp); n->second->destroy(); nUserPtr = n->second->userPtr(); } -- cgit v1.2.3