+
+ // Remember its current address
+ node_add_recent_address(mesh, n, &c->address);
+
+ if(!node_write_config(mesh, n) || !config_sync(mesh, "current")) {
+ logger(mesh, MESHLINK_ERROR, "Error writing configuration file for invited node %s!\n", c->name);
+ free_node(n);
+ return false;
+
+ }
+