summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/l2e/l2e.api5
1 files changed, 3 insertions, 2 deletions
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;
};
/*