From: Ole Troan Date: Fri, 6 Dec 2019 14:03:42 +0000 (+0100) Subject: map: use explicit types in api X-Git-Tag: v20.05-rc0~226 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F23846%2F2;p=vpp.git map: use explicit types in api Type: fix Signed-off-by: Ole Troan Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1 --- 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 */ };