Diff between f5f4267027144468f707677532930cc11fcc0e8a and a00dd4ea791279e1898928c9c8d481a963754cb7
Changed Files
| File | Additions | Deletions | Status |
| mesh/storage.c | +2 | -0 | modified |
Full Patch
diff --git a/mesh/storage.c b/mesh/storage.c
index fe3102f..e84c2c9 100644
--- a/mesh/storage.c
+++ b/mesh/storage.c
@@ -546,6 +546,8 @@ bool storage_create_node_config(struct mesh_node *node, void *data)
if (num_tries == 10)
l_error("Failed to generate unique node ID");
+ node_id_set(node, node_id);
+
snprintf(name_buf, PATH_MAX, "%s/%04x", storage_dir, node_id);
/* Create a new directory and node.json file */