From 98780be1cd96abdbb37edbcea5f6f5414cf4fda4 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 1 Oct 2019 09:49:53 -0700 Subject: ip: mfib CLI 'via local' fix Type: fix Change-Id: I6fd7bb27b95a50d37424f65dc51e8b341f8b1b28 Signed-off-by: Neale Ranns (cherry picked from commit eacc8c5943e44d19b5a65a68db3ad5adf9e37495) --- src/vnet/ip/lookup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/vnet/ip/lookup.c b/src/vnet/ip/lookup.c index 43d61d39ee0..43a90a1b558 100644 --- a/src/vnet/ip/lookup.c +++ b/src/vnet/ip/lookup.c @@ -896,6 +896,8 @@ vnet_ip_mroute_cmd (vlib_main_t * vm, */ rpath.frp_proto = fib_proto_to_dpo (pfx.fp_proto); rpath.frp_mitf_flags = MFIB_ITF_FLAG_FORWARD; + + vec_add1 (rpaths, rpath); } else if (unformat (line_input, "via %U", unformat_fib_route_path, &rpath, &payload_proto)) -- cgit 1.2.3-korg