aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/sapi/vpp_echo.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-08-28 15:19:17 +0200
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-08-28 15:19:17 +0200
commit50059cca899117f7d3d2de616ada05166ccd1c97 (patch)
tree3e9915559c765caba13073fad44a44f28e0d7bdd /src/plugins/hs_apps/sapi/vpp_echo.c
parent1ec093fe7a0c37cb5b8a84fdf5ffbd243880980f (diff)
quic: Fix listener vpp_session_handle
Type: fix Change-Id: I19f70403e15cd180e9d337fbdad47191de333b34 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/hs_apps/sapi/vpp_echo.c')
-rw-r--r--src/plugins/hs_apps/sapi/vpp_echo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo.c b/src/plugins/hs_apps/sapi/vpp_echo.c
index 5c9690f299f..612bdb98e78 100644
--- a/src/plugins/hs_apps/sapi/vpp_echo.c
+++ b/src/plugins/hs_apps/sapi/vpp_echo.c
@@ -432,6 +432,7 @@ session_bound_handler (session_bound_msg_t * mp)
/* Allocate local session and set it up */
listen_session = echo_session_new (em);
listen_session->session_type = ECHO_SESSION_TYPE_LISTEN;
+ listen_session->vpp_session_handle = mp->handle;
echo_session_handle_add_del (em, mp->handle, listen_session->session_index);
em->state = STATE_LISTEN;
em->listen_session_index = listen_session->session_index;