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/cnat/cnat_translation.c | |
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/cnat/cnat_translation.c')
-rw-r--r-- | src/plugins/cnat/cnat_translation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cnat/cnat_translation.c b/src/plugins/cnat/cnat_translation.c index 049809a8684..748d531f3de 100644 --- a/src/plugins/cnat/cnat_translation.c +++ b/src/plugins/cnat/cnat_translation.c @@ -825,7 +825,7 @@ cnat_translation_init (vlib_main_t * vm) ip6_main_t *i6m = &ip6_main; cnat_main_t *cm = &cnat_main; cnat_translation_fib_node_type = - fib_node_register_new_type (&cnat_translation_vft); + fib_node_register_new_type ("cnat-translation", &cnat_translation_vft); clib_bihash_init_8_8 (&cnat_translation_db, "CNat translation DB", cm->translation_hash_buckets, |