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/vnet/ip | |
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/vnet/ip')
-rw-r--r-- | src/vnet/ip/ip_path_mtu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_path_mtu.c b/src/vnet/ip/ip_path_mtu.c index 38adb44065b..40d8c8fab0b 100644 --- a/src/vnet/ip/ip_path_mtu.c +++ b/src/vnet/ip/ip_path_mtu.c @@ -826,7 +826,8 @@ ip_path_module_init (vlib_main_t *vm) adj_delegate_register_new_type (&ip_path_adj_delegate_vft); ip_pmtu_source = fib_source_allocate ("path-mtu", FIB_SOURCE_PRIORITY_HI, FIB_SOURCE_BH_SIMPLE); - ip_pmtu_fib_type = fib_node_register_new_type (&ip_ptmu_fib_node_vft); + ip_pmtu_fib_type = + fib_node_register_new_type ("ip-pmtu", &ip_ptmu_fib_node_vft); ip_pmtu_db = hash_create_mem (0, sizeof (ip_pmtu_key_t), sizeof (index_t)); ip_pmtu_logger = vlib_log_register_class ("ip", "pmtu"); |