From be31c2a25f24ef69346ccc4374e99eeb134d04c9 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Fri, 6 Dec 2019 15:03:42 +0100 Subject: [PATCH] map: use explicit types in api Type: fix Signed-off-by: Ole Troan Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1 --- src/plugins/map/map.api | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api index 857a1c8fcb0..badf76db2dc 100644 --- a/src/plugins/map/map.api +++ b/src/plugins/map/map.api @@ -13,9 +13,10 @@ * limitations under the License. */ -option version = "4.1.0"; +option version = "4.1.1"; import "vnet/ip/ip_types.api"; +import "vnet/interface_types.api"; /** \brief Add MAP domains @param client_index - opaque cookie to identify the sender @@ -149,7 +150,7 @@ autoreply define map_if_enable_disable { u32 client_index; u32 context; - u32 sw_if_index; + vl_api_interface_index_t sw_if_index; bool is_enable; bool is_translation; /* 0 - encapsulation, 1 - translation */ }; -- 2.16.6