map: use explicit types in api 46/23846/2
authorOle Troan <ot@cisco.com>
Fri, 6 Dec 2019 14:03:42 +0000 (15:03 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 7 Dec 2019 11:20:55 +0000 (11:20 +0000)
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1

src/plugins/map/map.api

index 857a1c8..badf76d 100644 (file)
  * 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 */
 };