Change-Id: I590945fdc1af53208c990a52bbecdc992fd27532
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
{
if (FIB_MPLS_LSP_MODE_PIPE == mode)
error_node =
- vlib_node_get_runtime(vm, ip6_mpls_label_disposition_uniform_node.index);
+ vlib_node_get_runtime(vm, ip6_mpls_label_disposition_pipe_node.index);
else
error_node =
vlib_node_get_runtime(vm, ip6_mpls_label_disposition_uniform_node.index);
ASSERT(0 != vnet_buffer (b3)->mpls.ttl);
ttl3 = vnet_buffer(b3)->mpls.ttl - 1;
- exp3 = vnet_buffer(b0)->mpls.exp;
+ exp3 = vnet_buffer(b3)->mpls.exp;
hdr3 = mpls_label_paint_w_ttl_exp(b3, mld3, ttl3, exp3);
}
else
*/
path_ext->fpe_mpls_flags |= FIB_PATH_EXT_MPLS_FLAG_NO_IP_TTL_DECR;
- if (NULL != path_ext)
- {
- /*
- * found a matching extension. stack it to obtain the forwarding
- * info for this path.
- */
- ctx->next_hops = fib_path_ext_stack(path_ext,
- ctx->fct,
- ctx->fct,
- ctx->next_hops);
- }
- else
- ASSERT(0);
/*
- * else
- * There should be a path-extenios associated with each path
+ * found a matching extension. stack it to obtain the forwarding
+ * info for this path.
*/
+ ctx->next_hops = fib_path_ext_stack(path_ext,
+ ctx->fct,
+ ctx->fct,
+ ctx->next_hops);
return (FIB_PATH_LIST_WALK_CONTINUE);
}