diff options
author | Neale Ranns <nranns@cisco.com> | 2018-12-20 03:01:49 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-12-20 15:00:30 +0000 |
commit | 775f73c6baaf9bc2283e7ab9752c81984823be99 (patch) | |
tree | 7c2496d34a590fae15f917f9e51867fa14aafec5 /src/vnet/mpls/mpls_api.c | |
parent | a3aaa61e2f2fd81f9653cb678b38519e96e6c6cd (diff) |
FIB: encode the label stack in the FIB path during table dump
Change-Id: I28e8a99b980ad343a4209e673201791b91ceab4e
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mpls/mpls_api.c')
-rw-r--r-- | src/vnet/mpls/mpls_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_api.c b/src/vnet/mpls/mpls_api.c index 0f2ebb11bca..4ac5ea72821 100644 --- a/src/vnet/mpls/mpls_api.c +++ b/src/vnet/mpls/mpls_api.c @@ -459,7 +459,8 @@ send_mpls_tunnel_entry (u32 mti, void *arg) mp->mt_sw_if_index = ntohl (mt->mt_sw_if_index); mp->mt_count = ntohl (n); - fib_path_list_walk (mt->mt_path_list, fib_path_encode, &api_rpaths); + fib_path_list_walk_w_ext (mt->mt_path_list, + &mt->mt_path_exts, fib_path_encode, &api_rpaths); fp = mp->mt_paths; vec_foreach (api_rpath, api_rpaths) |