From a173a7a07beef2e7b4f88367061923407a9b63ad Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 28 Nov 2018 11:34:38 +0100 Subject: [PATCH] MAP: Use bool type in map.api instead of u8. Change-Id: I4e40bb6d6bf274a27892053f37aeeb81a7278965 Signed-off-by: Ole Troan --- src/plugins/map/map.api | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api index 5121b2c234f..9918d7210c4 100644 --- a/src/plugins/map/map.api +++ b/src/plugins/map/map.api @@ -13,7 +13,7 @@ * limitations under the License. */ -option version = "2.1.0"; +option version = "2.2.0"; import "vnet/ip/ip_types.api"; @@ -38,8 +38,8 @@ define map_add_domain u8 ea_bits_len; u8 psid_offset; u8 psid_length; - u8 is_translation; - u8 is_rfc6052; + bool is_translation; + bool is_rfc6052; u16 mtu; }; @@ -81,7 +81,7 @@ autoreply define map_add_del_rule u32 client_index; u32 context; u32 index; - u8 is_add; + bool is_add; vl_api_ip6_address_t ip6_dst; u16 psid; }; @@ -108,7 +108,7 @@ define map_domain_details u8 psid_length; u8 flags; u16 mtu; - u8 is_translation; + bool is_translation; }; define map_rule_dump -- 2.16.6