diff options
author | Ole Troan <ot@cisco.com> | 2019-12-06 15:03:42 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-12-07 11:20:55 +0000 |
commit | be31c2a25f24ef69346ccc4374e99eeb134d04c9 (patch) | |
tree | 8d1cff1301e185e9d55008351ffee18df05dac32 /src/plugins | |
parent | 5e913f3741e40eb6650a02b538ad382532bf10c3 (diff) |
map: use explicit types in api
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/map/map.api | 5 |
1 files 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 */ }; |