session: cleanup part 2
Move app worker logic to app_worker.c
Change-Id: Ic5e5735b2884f006c064d023f491aa6888114810
Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index fe7f652..fa33ad3 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -45,7 +45,7 @@
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)
{
clib_warning ("unknown local handle 0x%lx", mp->handle);
@@ -58,7 +58,7 @@
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;
}