From 7dd63e5cc1b48adc4f912778ba79d67c71f94b83 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Thu, 19 Mar 2020 08:03:55 +0100 Subject: ip: change ip API enums address_family and ip_proto size to u8 Type: fix Signed-off-by: Jakub Grajciar Change-Id: I73d27520726543d6375caad76a841339f68c3533 Signed-off-by: Jakub Grajciar --- src/vat/api_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vat') diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 009a0a47301..cfd2028ce19 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -17554,7 +17554,7 @@ format_fib_api_path_nh_proto (u8 * s, va_list * args) static u8 * format_vl_api_ip_address_union (u8 * s, va_list * args) { - vl_api_address_family_t af = va_arg (*args, vl_api_address_family_t); + vl_api_address_family_t af = va_arg (*args, int); const vl_api_address_union_t *u = va_arg (*args, vl_api_address_union_t *); switch (af) -- cgit 1.2.3-korg