IPv6 for-us/receive multicast routes fix

Change-Id: I5e29e16b4d45411b1a7c177b8d7156c5baefe6a1
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2018-05-30 02:08:32 -04:00
committed by Damjan Marion
parent 36ec1f5fc2
commit 374399992f

View File

@ -926,6 +926,10 @@ vnet_ip_mroute_cmd (vlib_main_t * vm,
rpath.frp_sw_if_index = ~0;
rpath.frp_weight = 1;
rpath.frp_flags |= FIB_ROUTE_PATH_LOCAL;
/*
* set the path proto appropriately for the prefix
*/
rpath.frp_proto = fib_proto_to_dpo (pfx.fp_proto);
}
else if (unformat (line_input, "%U", unformat_mfib_itf_flags, &iflags))
;