summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2016-11-22 12:16:59 +0000
committerDave Wallace <dwallacelf@gmail.com>2016-11-22 14:29:02 +0000
commit72c390917c1ab4b55d317e35e627166cbf1552cd (patch)
tree470d896dd4b846d6d8b37c6c8356120d5e115b7e /vpp-api-test/vat
parented1c1835043a1d266a5928c40f41b340f6c968d7 (diff)
VAT: don't pass u8 to unformat - it expects an 4 byte integer
Change-Id: I82f21a77b96b9d9f00a4d3cf261bb4bd4644460b Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 00bb976b2bf..549bd0377fb 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;