From 53962fbccb4612af41e3fbd913cc50be09d3b24a Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 20 Dec 2021 18:18:42 +0000 Subject: fib: MPLS EOS chains built for attached prefixes should link to a lookup DPO Type: fix Presently a local label associated with an attached or connected prefix will link to the glean. This is a problem since it will never use the adj-fibs that are installed for that attached prefix. Instead link the local label to a lookup in the table in which the attached link is bound. Signed-off-by: Neale Ranns Change-Id: Iad49fb6168b9ba47216a9a52bd262363b49c3c43 --- src/vnet/fib/fib_path_list.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/vnet/fib/fib_path_list.c') diff --git a/src/vnet/fib/fib_path_list.c b/src/vnet/fib/fib_path_list.c index 81751695f47..d7e860ecb8c 100644 --- a/src/vnet/fib/fib_path_list.c +++ b/src/vnet/fib/fib_path_list.c @@ -378,8 +378,10 @@ fib_path_list_mk_lb (fib_path_list_t *path_list, if ((flags & FIB_PATH_LIST_FWD_FLAG_STICKY) || fib_path_is_resolved(*path_index)) { - nhs = fib_path_append_nh_for_multipath_hash(*path_index, - fct, nhs); + nhs = fib_path_append_nh_for_multipath_hash( + *path_index, fct, + fib_forw_chain_type_to_dpo_proto(fct), + nhs); } } -- cgit 1.2.3-korg