summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vcl_event.c')
-rw-r--r--src/vcl/vcl_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vcl_event.c b/src/vcl/vcl_event.c
index f8da0156d1a..38a78535ee7 100644
--- a/src/vcl/vcl_event.c
+++ b/src/vcl/vcl_event.c
@@ -321,7 +321,7 @@ vppcom_session_io_thread_fn (void *arg)
{
for (i = 0; i < vec_len (session_indexes); ++i)
{
- session = vcl_session_get (session_indexes[i]);
+ session = vcl_session_get (0, session_indexes[i]);
if (!session)
return NULL;
bytes = svm_fifo_max_dequeue (session->rx_fifo);
@@ -411,7 +411,7 @@ vce_registered_listener_connect_handler_fn (void *arg)
ev = vce_get_event_from_index (&vcm->event_thread, reg->ev_idx);
ecr = vce_get_event_data (ev, sizeof (*ecr));
VCL_EVENTS_UNLOCK ();
- new_session = vcl_session_get (ecr->accepted_session_index);
+ new_session = vcl_session_get (0, ecr->accepted_session_index);
if (!new_session)
return;