summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.api3
-rwxr-xr-xsrc/vnet/session/session_api.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api
index 58054ae4ba2..c60e99ea14a 100644
--- a/src/vnet/session/session.api
+++ b/src/vnet/session/session.api
@@ -258,14 +258,11 @@ define reset_session {
};
/** \brief client->vpp reset session reply
- @param client_index - opaque cookie to identify the sender
- client to vpp direction only
@param context - sender context, to match reply w/ request
@param retval - return code for the request
@param handle - session handle obtained via accept/connect
*/
define reset_session_reply {
- u32 client_index;
u32 context;
i32 retval;
u64 handle;
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index d1cbc646e52..dddc1f5f03f 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -955,7 +955,7 @@ vl_api_reset_session_reply_t_handler (vl_api_reset_session_reply_t * mp)
stream_session_t *s;
u32 index, thread_index;
- app = application_lookup (mp->client_index);
+ app = application_lookup (mp->context);
if (!app)
return;