1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

add missing call to node_init2()

This commit is contained in:
Steffen Vogel 2017-09-16 14:59:48 +02:00
parent 04509a4a2a
commit 2c67e1a4f4

View file

@ -361,8 +361,10 @@ int super_node_start(struct super_node *sn)
struct node *n = list_at(&sn->nodes, i);
int refs = list_count(&sn->paths, (cmp_cb_t) path_uses_node, n);
if (refs > 0)
if (refs > 0) {
node_init2(n);
node_start(n);
}
else
warn("No path is using the node %s. Skipping...", node_name(n));
}