X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugins%2Funittest%2Fsession_test.c;h=c504d8df15d641667738832000403e460a3d9c7d;hb=98311da8b42d1e97e4a6cc22cb2032ba84f08fad;hp=c1622d17fa2d607cf6268ee8f93f769446cf0255;hpb=c1f5a4336036e3f2d1f6746f39ce610312254272;p=vpp.git diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c index c1622d17fa2..c504d8df15d 100644 --- a/src/plugins/unittest/session_test.c +++ b/src/plugins/unittest/session_test.c @@ -63,14 +63,14 @@ dummy_session_connected_callback (u32 app_index, u32 api_context, static u32 dummy_segment_count; int -dummy_add_segment_callback (u32 client_index, const ssvm_private_t * fs) +dummy_add_segment_callback (u32 client_index, u64 segment_handle) { dummy_segment_count = 1; return 0; } int -dummy_del_segment_callback (u32 client_index, const ssvm_private_t * fs) +dummy_del_segment_callback (u32 client_index, u64 segment_handle) { dummy_segment_count = 0; return 0; @@ -388,9 +388,9 @@ session_test_endpoint_cfg (vlib_main_t * vm, unformat_input_t * input) * main thread, even when we have workers and we avoid polling main thread, * i.e., we can't cleanup pending disconnects, so force cleanup for both */ - stream_session_cleanup (s); + session_transport_cleanup (s); s = session_get (accepted_session_index, accepted_session_thread); - stream_session_cleanup (s); + session_transport_cleanup (s); vnet_app_detach_args_t detach_args = { .app_index = server_index,