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:
parent
04509a4a2a
commit
2c67e1a4f4
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue