client_index inside vapi message is an opaque cookie. client_index in
vapi is just index inside sockclnt_create/sockclnt_delete messages.
Type: fix
Change-Id: Id06ff078788994d6c426e85e5ce08a259e236bc0
Signed-off-by: Stanislav Zaikin <[email protected]>
mp = vapi_msg_alloc (ctx, sizeof (vl_api_sockclnt_delete_t));
clib_memset (mp, 0, sizeof (*mp));
mp->_vl_msg_id = ntohs (VL_API_SOCKCLNT_DELETE);
+ mp->index = ctx->my_client_index;
mp->client_index = ctx->my_client_index;
return vapi_sock_send (ctx, (void *) mp);