summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-10-01 09:49:53 -0700
committerNeale Ranns <nranns@cisco.com>2019-10-02 13:16:58 +0000
commit98780be1cd96abdbb37edbcea5f6f5414cf4fda4 (patch)
tree2ee90638bc5e7ab91f95da5ad20fb01b8e9f6782
parentda3cc716c069c217d534712f46e621d797dd27cd (diff)
ip: mfib CLI 'via local' fix
Type: fix Change-Id: I6fd7bb27b95a50d37424f65dc51e8b341f8b1b28 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit eacc8c5943e44d19b5a65a68db3ad5adf9e37495)
-rw-r--r--src/vnet/ip/lookup.c2
1 files changed, 2 insertions, 0 deletions
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))