From 5b43fd45b3af28e58e297209e6b5e937a991c1e4 Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Thu, 28 Jul 2016 09:22:03 +0200 Subject: [PATCH] VPE_API small fix for LISP locator_set - add documentation - use new feature in vpe_api Change-Id: I2708383aa886494d948feea1869c3fabae94c7bf Signed-off-by: Andrej Kozemcak --- vpp/vpp-api/vpe.api | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api index 6aa221388c4..07839495a26 100644 --- a/vpp/vpp-api/vpe.api +++ b/vpp/vpp-api/vpe.api @@ -2157,6 +2157,8 @@ define vxlan_gpe_tunnel_details { @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param locator_set_name - locator name + @param locator_num - number of locators + @param locators - Lisp locator data */ define lisp_add_del_locator_set { u32 client_index; @@ -2164,7 +2166,7 @@ define lisp_add_del_locator_set { u8 is_add; u8 locator_set_name[64]; u32 locator_num; - u8 locators[0]; + u8 locators[locator_num]; }; /** \brief Reply for locator_set add/del -- 2.16.6