IPv6 for-us/receive multicast routes fix 00/12800/3
authorNeale Ranns <nranns@cisco.com>
Wed, 30 May 2018 06:08:32 +0000 (02:08 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 30 May 2018 08:17:29 +0000 (08:17 +0000)
Change-Id: I5e29e16b4d45411b1a7c177b8d7156c5baefe6a1
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ip/lookup.c

index a26dc12..0b37681 100644 (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))
        ;