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/ip/ip_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/ip/ip_api.c')
-rw-r--r-- | src/vnet/ip/ip_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c index 5a2aa60b057..d59aa23d7e5 100644 --- a/src/vnet/ip/ip_api.c +++ b/src/vnet/ip/ip_api.c @@ -810,6 +810,8 @@ add_del_route_t_handler (u8 is_multipath, path.frp_local_label = next_hop_via_label; path.frp_eos = MPLS_NON_EOS; } + if (is_local) + path_flags |= FIB_ROUTE_PATH_LOCAL; if (is_dvr) path_flags |= FIB_ROUTE_PATH_DVR; if (is_resolve_host) |