aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-10-01 09:49:53 -0700
committerDamjan Marion <dmarion@me.com>2019-10-02 12:18:06 +0000
commiteacc8c5943e44d19b5a65a68db3ad5adf9e37495 (patch)
tree0ce75132592f63c48af1163ffa8cee669d6b21b6
parentd459bf344e20ffb38a869c9fef2211f55d766b02 (diff)
ip: mfib CLI 'via local' fix
Type: fix Change-Id: I6fd7bb27b95a50d37424f65dc51e8b341f8b1b28 Signed-off-by: Neale Ranns <nranns@cisco.com>
-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))