diff options
author | Neale Ranns <nranns@cisco.com> | 2017-05-23 03:43:47 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-05-23 03:44:33 -0700 |
commit | 8c4611b39162da9753caaf654741faa115eaf612 (patch) | |
tree | 058a123261fd66922d21bb784d08f6436d49f5fb /src/vnet/mpls/mpls_tunnel.c | |
parent | 5c89c420861ab938151f0bb0a298bb04d590ff2b (diff) |
Labelled attached paths via an MPLS tunnel
Change-Id: Ic86617c9c3217122043656ce2ea70bb106df5b2d
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mpls/mpls_tunnel.c')
-rw-r--r-- | src/vnet/mpls/mpls_tunnel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_tunnel.c b/src/vnet/mpls/mpls_tunnel.c index d6e85e70b44..776b23baf87 100644 --- a/src/vnet/mpls/mpls_tunnel.c +++ b/src/vnet/mpls/mpls_tunnel.c @@ -273,7 +273,9 @@ mpls_tunnel_stack (adj_index_t ai) mpls_tunnel_mk_lb(mt, adj->ia_link, - FIB_FORW_CHAIN_TYPE_MPLS_EOS, + (VNET_LINK_MPLS == adj_get_link_type(ai) ? + FIB_FORW_CHAIN_TYPE_MPLS_NON_EOS: + FIB_FORW_CHAIN_TYPE_MPLS_EOS), &dpo); adj_nbr_midchain_stack(ai, &dpo); |