diff options
author | Florin Coras <fcoras@cisco.com> | 2019-08-24 18:17:34 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-12-21 18:50:12 +0000 |
commit | c4c4cf5066fbdceebd62a8819e3ecd0fc879f05d (patch) | |
tree | 2bd208ee7edb7e49440397b2fd44f3515c4e817d /src/vnet/session/application_worker.c | |
parent | d849edf3841c1c9774c5ce209a2b903415f2370a (diff) |
session: move add/del segment msg to mq
Type: refactor
Change-Id: I32234173ebd69f80acb1afa4039fffbd19157f6d
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_worker.c')
-rw-r--r-- | src/vnet/session/application_worker.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c index bb51cb71f03..1db6baab74e 100644 --- a/src/vnet/session/application_worker.c +++ b/src/vnet/session/application_worker.c @@ -526,7 +526,8 @@ int app_worker_add_segment_notify (app_worker_t * app_wrk, u64 segment_handle) { application_t *app = application_get (app_wrk->app_index); - return app->cb_fns.add_segment_callback (app_wrk->api_client_index, + + return app->cb_fns.add_segment_callback (app_wrk->wrk_index, segment_handle); } @@ -534,7 +535,7 @@ int app_worker_del_segment_notify (app_worker_t * app_wrk, u64 segment_handle) { application_t *app = application_get (app_wrk->app_index); - return app->cb_fns.del_segment_callback (app_wrk->api_client_index, + return app->cb_fns.del_segment_callback (app_wrk->wrk_index, segment_handle); } |