aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-07-28 09:22:03 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-07-28 10:03:20 +0000
commit5b43fd45b3af28e58e297209e6b5e937a991c1e4 (patch)
tree084a1973daa59ffdd71c29cb0e22b91ebac11ac8
parent829c51a2f59f4b2a9a7546433cc12a9419b18d14 (diff)
VPE_API small fix for LISP locator_set
- add documentation - use new feature in vpe_api Change-Id: I2708383aa886494d948feea1869c3fabae94c7bf Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
-rw-r--r--vpp/vpp-api/vpe.api4
1 files changed, 3 insertions, 1 deletions
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