From 72c390917c1ab4b55d317e35e627166cbf1552cd Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 22 Nov 2016 12:16:59 +0000 Subject: VAT: don't pass u8 to unformat - it expects an 4 byte integer Change-Id: I82f21a77b96b9d9f00a4d3cf261bb4bd4644460b Signed-off-by: Neale Ranns --- vpp-api-test/vat/api_format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c index 00bb976b..549bd037 100644 --- a/vpp-api-test/vat/api_format.c +++ b/vpp-api-test/vat/api_format.c @@ -5768,7 +5768,7 @@ api_ip_add_del_route (vat_main_t * vam) u8 is_unreach = 0, is_prohibit = 0; u8 create_vrf_if_needed = 0; u8 is_add = 1; - u8 next_hop_weight = 1; + u32 next_hop_weight = 1; u8 not_last = 0; u8 is_multipath = 0; u8 address_set = 0; @@ -6054,7 +6054,7 @@ api_mpls_route_add_del (vat_main_t * vam) u32 sw_if_index = ~0, table_id = 0; u8 create_table_if_needed = 0; u8 is_add = 1; - u8 next_hop_weight = 1; + u32 next_hop_weight = 1; u8 is_multipath = 0; u32 next_hop_table_id = 0; u8 next_hop_set = 0; -- cgit 1.2.3-korg