aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-29 05:59:01 -0700
committerNeale Ranns <nranns@cisco.com>2019-03-29 15:17:11 +0000
commitdb4cae5d438e5114a19df38acbb9e1dd6c99fe3f (patch)
treee07f96c6d1a23079df521dd669f53168b1a8f909
parentd2a4194dc7711827ffa001e2e84c1fb391040de9 (diff)
VOM: recurive route update fix
Change-Id: Iff61904804d8218c4e02897521368f696002343d Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r--extras/vom/vom/route_api_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/vom/vom/route_api_types.cpp b/extras/vom/vom/route_api_types.cpp
index b12cd60c4d0..d2234796beb 100644
--- a/extras/vom/vom/route_api_types.cpp
+++ b/extras/vom/vom/route_api_types.cpp
@@ -26,7 +26,6 @@ to_vpp(const route::path& p, vapi_payload_ip_add_del_route& payload)
payload.is_prohibit = 0;
payload.is_local = 0;
payload.is_classify = 0;
- payload.is_multipath = 0;
payload.is_resolve_host = 0;
payload.is_resolve_attached = 0;
@@ -37,6 +36,7 @@ to_vpp(const route::path& p, vapi_payload_ip_add_del_route& payload)
if (route::path::special_t::STANDARD == p.type()) {
uint8_t path_v6;
to_bytes(p.nh(), &path_v6, payload.next_hop_address);
+ payload.next_hop_sw_if_index = 0xffffffff;
if (p.rd()) {
payload.next_hop_table_id = p.rd()->table_id();
@@ -55,7 +55,7 @@ to_vpp(const route::path& p, vapi_payload_ip_add_del_route& payload)
}
payload.next_hop_weight = p.weight();
payload.next_hop_preference = p.preference();
- payload.next_hop_via_label = 0;
+ payload.next_hop_via_label = 0x100000;
payload.classify_table_index = 0;
}