diff options
Diffstat (limited to 'vlib/vlib/node.c')
-rw-r--r-- | vlib/vlib/node.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vlib/vlib/node.c b/vlib/vlib/node.c index 838f34199bd..3d26559a03d 100644 --- a/vlib/vlib/node.c +++ b/vlib/vlib/node.c @@ -486,8 +486,11 @@ vlib_node_main_init (vlib_main_t * vm) sib = vlib_get_node_by_name (vm, (u8 *) n->sibling_of); if (!sib) - clib_error ("sibling `%s' not found for node `%v'", n->sibling_of, - n->name); + { + error = clib_error_create ("sibling `%s' not found for node `%v'", + n->sibling_of, n->name); + goto done; + } /* *INDENT-OFF* */ clib_bitmap_foreach (si, sib->sibling_bitmap, ({ |