diff --git a/node/Node.cpp b/node/Node.cpp index 5848d953e..6d7eea432 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(); }