diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-08-11 12:21:37 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-08-23 13:23:13 +0000 |
commit | 3a83460868d580adc7b51398bfd4093730cf0ed6 (patch) | |
tree | e3731d4ac99d1fb5a817c5374998e7e1fae84407 /vpp/vpp-api/api.c | |
parent | b1b1a14977f77d9805dd2cb11c7e8ddfc404818a (diff) |
VPP-323: Add LISP locator set index to reply API message
Change-Id: Id798f63f4cf1a8aa7a75931bc23d3c7f5d738938
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vpp/vpp-api/api.c')
-rw-r--r-- | vpp/vpp-api/api.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index db818fdf..17893f12 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -5160,7 +5160,12 @@ vl_api_lisp_add_del_locator_set_t_handler (vl_api_lisp_add_del_locator_set_t * vec_free (locator_name); vec_free (a->locators); - REPLY_MACRO (VL_API_LISP_ADD_DEL_LOCATOR_SET_REPLY); + /* *INDENT-OFF* */ + REPLY_MACRO2 (VL_API_LISP_ADD_DEL_LOCATOR_SET_REPLY, + ({ + rmp->ls_index = clib_host_to_net_u32 (ls_index); + })); + /* *INDENT-ON* */ } static void |