summaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/mpls')
-rw-r--r--src/vnet/mpls/mpls_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_api.c b/src/vnet/mpls/mpls_api.c
index c47e94dd34a..a55daa2b0c4 100644
--- a/src/vnet/mpls/mpls_api.c
+++ b/src/vnet/mpls/mpls_api.c
@@ -234,9 +234,11 @@ mpls_route_add_del_t_handler (vnet_main_t * vnm,
mp->mr_is_rpf_id,
0, // l2_bridged
0, // is source_lookup
+ 0, // is_udp_encap
fib_index, &pfx,
mp->mr_next_hop_proto,
- &nh, ntohl (mp->mr_next_hop_sw_if_index),
+ &nh, ~0, // next_hop_id
+ ntohl (mp->mr_next_hop_sw_if_index),
next_hop_fib_index,
mp->mr_next_hop_weight,
mp->mr_next_hop_preference,