aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tls/tls.c
diff options
context:
space:
mode:
authoryedg <yedg@wangsu.com>2021-03-28 06:33:00 +0800
committerFlorin Coras <florin.coras@gmail.com>2021-03-29 17:11:05 +0000
commita840db21e8cce5f27f2a41bd245d59e6aeb8a932 (patch)
treea4eea059eea778f87c6b2c6c95a0a7f2e5e69753 /src/vnet/tls/tls.c
parentd4a907bdd2f86404790ebbe2c85a7f1b844639f8 (diff)
tls: fix app_worker_connect_notify param error
Type: fix Signed-off-by: yedongggang <yedg@wangsu.com> Change-Id: I5ec690e71fa9119a7bf1cfcb6e36263aa732eff0
Diffstat (limited to 'src/vnet/tls/tls.c')
-rw-r--r--src/vnet/tls/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index b9c07ff9406..a950f142932 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -522,7 +522,7 @@ tls_session_connected_cb (u32 tls_app_index, u32 ho_ctx_index,
app_wrk = app_worker_get_if_valid (ho_ctx->parent_app_wrk_index);
if (app_wrk)
{
- api_context = ho_ctx->c_s_index;
+ api_context = ho_ctx->parent_app_api_context;
app_worker_connect_notify (app_wrk, 0, err, api_context);
}
tls_ctx_half_open_reader_unlock ();