From: Ole Troan Date: Fri, 6 Dec 2019 09:05:29 +0000 (+0100) Subject: l2e: use explicit api types X-Git-Tag: v20.05-rc0~234 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=b2e463a10 l2e: use explicit api types Type: fix Signed-off-by: Ole Troan Change-Id: I1888a8247ef03cfb715a2c0e0e3ca2a108fecbc8 --- diff --git a/src/plugins/l2e/l2e.api b/src/plugins/l2e/l2e.api index dd2eb164380..3b7c9ffe9e6 100644 --- a/src/plugins/l2e/l2e.api +++ b/src/plugins/l2e/l2e.api @@ -15,6 +15,7 @@ */ option version = "1.0.0"; +import "vnet/interface_types.api"; /** \brief L2 emulation at L3 @param client_index - opaque cookie to identify the sender @@ -26,8 +27,8 @@ autoreply define l2_emulation { u32 client_index; u32 context; - u32 sw_if_index; - u8 enable; + vl_api_interface_index_t sw_if_index; + bool enable; }; /*