summaryrefslogtreecommitdiffstats
path: root/src/plugins/abf/abf_policy.c
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-12-02 17:07:14 +0000
committerBeno�t Ganne <bganne@cisco.com>2021-12-03 09:04:44 +0000
commit2008912b56abbf3167faf9b787df76605684d9e1 (patch)
treeb63ea2c8365fa7f1ab93379ba9ccad257e9811cf /src/plugins/abf/abf_policy.c
parentf68798626c7d4704acfa68751e52f087ca67a13a (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/abf_policy.c')
-rw-r--r--src/plugins/abf/abf_policy.c3
1 files changed, 2 insertions, 1 deletions
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);
}