features: extend 'feature node not found' warning message 05/11005/2
authorDamjan Marion <damarion@cisco.com>
Wed, 7 Mar 2018 12:06:40 +0000 (13:06 +0100)
committerDave Barach <openvpp@barachs.net>
Wed, 7 Mar 2018 16:39:06 +0000 (16:39 +0000)
Change-Id: I8f45fdb3865e2e0cbb5162ac622c07fec5e42b9d
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vnet/feature/registration.c

index b05d1dc..872a196 100644 (file)
@@ -202,7 +202,8 @@ vnet_feature_arc_init (vlib_main_t * vm,
        */
       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 @@ vnet_feature_arc_init (vlib_main_t * vm,
       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];