From 8a140616a5bab477817e7ed59afe6b01bd3d2f3a Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 18 Feb 2019 22:39:39 -0800 Subject: tls: add vcl test Change-Id: If4c7efaf6506a827e7a95a56c2f6b6060df03fa1 Signed-off-by: Florin Coras --- src/vnet/session/application.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/vnet/session/application.c') diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index a782792f83f..e79851cab4c 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -955,14 +955,8 @@ session_endpoint_update_for_app (session_endpoint_cfg_t * sep, /* App is a transport proto, so fetch the calling app's ns */ if (app->flags & APP_OPTIONS_FLAGS_IS_TRANSPORT_APP) - { - app_worker_t *owner_wrk; - application_t *owner_app; + ns_index = sep->ns_index; - owner_wrk = app_worker_get (sep->app_wrk_index); - owner_app = application_get (owner_wrk->app_index); - ns_index = owner_app->ns_index; - } app_ns = app_namespace_get (ns_index); if (!app_ns) return; -- cgit 1.2.3-korg