features: extend 'feature node not found' warning message
Change-Id: I8f45fdb3865e2e0cbb5162ac622c07fec5e42b9d
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vnet/feature/registration.c b/src/vnet/feature/registration.c
index b05d1dc..872a196 100644
--- a/src/vnet/feature/registration.c
+++ b/src/vnet/feature/registration.c
@@ -202,7 +202,8 @@
*/
if (p == 0)
{
- clib_warning ("feature node '%s' not found", a_name);
+ clib_warning ("feature node '%s' not found (before '%s', arc '%s')",
+ a_name, b_name, first_reg->arc_name);
continue;
}
a_index = p[0];
@@ -210,7 +211,8 @@
p = hash_get_mem (index_by_name, b_name);
if (p == 0)
{
- clib_warning ("feature node '%s' not found", b_name);
+ clib_warning ("feature node '%s' not found (after '%s', arc '%s')",
+ b_name, a_name, first_reg->arc_name);
continue;
}
b_index = p[0];