session: fix connected udp accepts
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0963bae4b56b08c0a9ab4ee1f2738013217e1fb7
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index f15248e..852f87d 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1312,6 +1312,7 @@
}
session_lookup_add_connection (tc, session_handle (s));
+ s->session_state = SESSION_STATE_ACCEPTING;
app_wrk = app_worker_get (s->app_wrk_index);
if ((rv = app_worker_accept_notify (app_wrk, s)))