diff options
Diffstat (limited to 'vpp/vpp-api')
-rw-r--r-- | vpp/vpp-api/api.c | 7 | ||||
-rw-r--r-- | vpp/vpp-api/vpe.api | 2 |
2 files changed, 8 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 diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api index 0685d21e..3b3025d4 100644 --- a/vpp/vpp-api/vpe.api +++ b/vpp/vpp-api/vpe.api @@ -2362,11 +2362,13 @@ define lisp_add_del_locator_set /** \brief Reply for locator_set add/del @param context - returned sender context, to match reply w/ request @param retval - return code + @param ls_index - locator set index */ define lisp_add_del_locator_set_reply { u32 context; i32 retval; + u32 ls_index; }; /** \brief add or delete locator for locator_set |