X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fapi.c;h=673ffe5618cbf43d43805659ad6bd4dbdf2337f2;hb=b64e4e2af314e1b2bc074b12ede50ad6d96c37c0;hp=c85dc680b2831730bc94b7241c89b255dbdf443a;hpb=c563e0e11e0725b6cb85b4f1c405084385612b2f;p=vpp.git diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c index c85dc680b28..673ffe5618c 100644 --- a/src/vpp/api/api.c +++ b/src/vpp/api/api.c @@ -164,8 +164,8 @@ static int arp_change_delete_callback (u32 pool_index, u8 * notused); static int nd_change_delete_callback (u32 pool_index, u8 * notused); /* Clean up all registrations belonging to the indicated client */ -int -vl_api_memclnt_delete_callback (u32 client_index) +static clib_error_t * +memclnt_delete_callback (u32 client_index) { vpe_api_main_t *vam = &vpe_api_main; vpe_client_registration_t *rp; @@ -186,6 +186,8 @@ vl_api_memclnt_delete_callback (u32 client_index) return 0; } +VL_MSG_API_REAPER_FUNCTION (memclnt_delete_callback); + pub_sub_handler (oam_events, OAM_EVENTS); #define RESOLUTION_EVENT 1