summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_api.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-03 19:28:34 -0800
committerDave Barach <openvpp@barachs.net>2019-02-05 15:01:08 +0000
commit623eb5676689f6874716857a1085d0efd4974c4c (patch)
tree8d880ffa262d9f49b32683896ace973e4c3870f2 /src/vnet/session/session_api.c
parenta09c1ff5b6ae535932b4fc9477ffc4e39748ca62 (diff)
session: cleanup part 2
Move app worker logic to app_worker.c Change-Id: Ic5e5735b2884f006c064d023f491aa6888114810 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-xsrc/vnet/session/session_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 6a0d77eed12..bd809367ce5 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -1144,14 +1144,14 @@ vl_api_accept_session_reply_t_handler (vl_api_accept_session_reply_t * mp)
if (session_handle_is_local (mp->handle))
{
- ls = application_get_local_session_from_handle (mp->handle);
+ ls = app_worker_get_local_session_from_handle (mp->handle);
if (!ls || ls->app_wrk_index != mp->context)
{
clib_warning ("server %u doesn't own local handle %llu",
mp->context, mp->handle);
return;
}
- if (application_local_session_connect_notify (ls))
+ if (app_worker_local_session_connect_notify (ls))
return;
ls->session_state = SESSION_STATE_READY;
}