aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-09-30 10:26:53 +0200
committerOle Trøan <otroan@employees.org>2019-09-30 16:47:48 +0000
commit0fc509343e43adf97f1b474254f601b3e55ac36f (patch)
treeb64c9a906c9fc867ad8a4608496bf17d487035ec /src/vnet
parent63c735362d3758677c535196885c7acfa0a82efa (diff)
dhcp: dhcp6_ia_na_client_cp API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: Ie2d2c74ed3832d137e808e0b52348b4e660feb6f Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/dhcp/dhcp6_ia_na_client_cp.api8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/vnet/dhcp/dhcp6_ia_na_client_cp.api b/src/vnet/dhcp/dhcp6_ia_na_client_cp.api
index 6dd67384aec..caa4fd4afc8 100644
--- a/src/vnet/dhcp/dhcp6_ia_na_client_cp.api
+++ b/src/vnet/dhcp/dhcp6_ia_na_client_cp.api
@@ -13,7 +13,9 @@
* limitations under the License.
*/
-option version = "1.0.0";
+option version = "1.0.1";
+
+import "vnet/interface_types.api";
/** \brief Enable/disable DHCPv6 client on interface
@param client_index - opaque cookie to identify the sender
@@ -25,8 +27,8 @@ autoreply define dhcp6_client_enable_disable
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 enable;
+ vl_api_interface_index_t sw_if_index;
+ bool enable;
};
/*