From d847d1c68276da82ca8eaf289ddcf4467f6ec418 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 24 Aug 2016 16:17:29 +0200 Subject: [PATCH] VPP-340: MAP-T wrong destination address The bug was in VAT MAP code parsing a 32 bit integer into a 8 bit type. Perhaps we should try to build some defences in unformat_chech_input() to avoid these errors. Rebuild. Change-Id: Iae4959f7e04d889da2e9650a4201c4db15d74201 Signed-off-by: Ole Troan --- vpp-api-test/vat/api_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c index 5ddb7f7f235..f13e983c450 100644 --- a/vpp-api-test/vat/api_format.c +++ b/vpp-api-test/vat/api_format.c @@ -11163,7 +11163,7 @@ api_map_add_domain (vat_main_t * vam) 0, psid_length = 0; u8 is_translation = 0; u32 mtu = 0; - u8 ip6_src_len = 128; + u32 ip6_src_len = 128; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { -- 2.16.6