diff options
author | Neale Ranns <nranns@cisco.com> | 2018-05-30 02:08:32 -0400 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-05-30 08:17:29 +0000 |
commit | 374399992f9cdaea2f0a32b37a5b65ae67e2b97b (patch) | |
tree | 2880a0f39e116cf899e3b91c802a6be04008f3bb /src | |
parent | 36ec1f5fc2b3b3f70442cd1e78341732488b7dc5 (diff) |
IPv6 for-us/receive multicast routes fix
Change-Id: I5e29e16b4d45411b1a7c177b8d7156c5baefe6a1
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ip/lookup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/lookup.c b/src/vnet/ip/lookup.c index a26dc12889e..0b376812250 100644 --- a/src/vnet/ip/lookup.c +++ b/src/vnet/ip/lookup.c @@ -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)) ; |