summaryrefslogtreecommitdiffstats
path: root/src/vnet/feature/registration.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-07 13:06:40 +0100
committerDave Barach <openvpp@barachs.net>2018-03-07 16:39:06 +0000
commit7dc4d67852772fa42904c41974cb916c7eaafb60 (patch)
tree0e4a31d232c9522f3e5d84ade8a95ec57461b3ce /src/vnet/feature/registration.c
parente4e34c23fe7050c26967997fdb8f555c51fd3961 (diff)
features: extend 'feature node not found' warning message
Change-Id: I8f45fdb3865e2e0cbb5162ac622c07fec5e42b9d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/feature/registration.c')
-rw-r--r--src/vnet/feature/registration.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/feature/registration.c b/src/vnet/feature/registration.c
index b05d1dc8b0d..872a19623bc 100644
--- a/src/vnet/feature/registration.c
+++ b/src/vnet/feature/registration.c
@@ -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];