diff options
author | Neale Ranns <neale@graphiant.com> | 2021-12-02 17:07:14 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2021-12-03 09:04:44 +0000 |
commit | 2008912b56abbf3167faf9b787df76605684d9e1 (patch) | |
tree | b63ea2c8365fa7f1ab93379ba9ccad257e9811cf /src/plugins/abf | |
parent | f68798626c7d4704acfa68751e52f087ca67a13a (diff) |
fib: Fix the display (or lack of) for fib node types in dependent children lists
Type: fix
When registering a new FIB node type, no name was required on the API, and so no name was printed.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I8a99cf29c194637a550061b0a5e9782ffe8b31dd
Diffstat (limited to 'src/plugins/abf')
-rw-r--r-- | src/plugins/abf/abf_itf_attach.c | 2 | ||||
-rw-r--r-- | src/plugins/abf/abf_policy.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/abf/abf_itf_attach.c b/src/plugins/abf/abf_itf_attach.c index 4f17f720f3b..6f85ff69ae6 100644 --- a/src/plugins/abf/abf_itf_attach.c +++ b/src/plugins/abf/abf_itf_attach.c @@ -760,7 +760,7 @@ static clib_error_t * abf_itf_bond_init (vlib_main_t * vm) { abf_itf_attach_fib_node_type = - fib_node_register_new_type (&abf_itf_attach_vft); + fib_node_register_new_type ("abf-attach", &abf_itf_attach_vft); clib_error_t *acl_init_res = acl_plugin_exports_init (&acl_plugin); if (acl_init_res) return (acl_init_res); diff --git a/src/plugins/abf/abf_policy.c b/src/plugins/abf/abf_policy.c index 945434bca27..1921df113ff 100644 --- a/src/plugins/abf/abf_policy.c +++ b/src/plugins/abf/abf_policy.c @@ -456,7 +456,8 @@ static const fib_node_vft_t abf_policy_vft = { static clib_error_t * abf_policy_init (vlib_main_t * vm) { - abf_policy_fib_node_type = fib_node_register_new_type (&abf_policy_vft); + abf_policy_fib_node_type = + fib_node_register_new_type ("abf-policy", &abf_policy_vft); return (NULL); } |