summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-02-16 17:12:01 -0800
committerDave Barach <openvpp@barachs.net>2022-02-17 19:07:30 +0000
commit7705b4916b6588de0caa594e2bfb684a8736d572 (patch)
treee7be230f062cf2d73e8b065541ba6caf108bc910 /src/vnet
parentb23ffd7ef216463c35b75c831e6a27e58971f4ec (diff)
tls http srtp: fix session index for listeners
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If5e6d0e8c686ea93674d6201c38b3a4d1c4786a5
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tls/tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index e201d478361..ec5f67081ee 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -834,6 +834,7 @@ tls_start_listen (u32 app_listener_index, transport_endpoint_cfg_t *tep)
lctx->tls_ctx_engine = engine_type;
lctx->tls_type = sep->transport_proto;
lctx->ckpair_index = ccfg->ckpair_index;
+ lctx->c_s_index = app_listener_index;
lctx->c_flags |= TRANSPORT_CONNECTION_F_NO_LOOKUP;
if (tls_vfts[engine_type].ctx_start_listen (lctx))