summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_api.c
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-08-15 08:46:46 +0200
committerOle Trøan <otroan@employees.org>2018-08-15 13:09:16 +0000
commit6bd197ebb9fd9ae271449ad3937ae076d85c6479 (patch)
tree9502bb0813e059332a0f6e2cde2dba0855a662a5 /src/vnet/session/session_api.c
parent182e37e33f80cc65f3cf27b69e74d855dd858a7e (diff)
Remove client_index field from replies in API
- replies should not need to contain client_index since it is used to identify sender of requests to VPP Change-Id: Iece3853b3f020054ee1652b149d0cf8d9580db4e Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-xsrc/vnet/session/session_api.c2
1 files changed, 1 insertions, 1 deletions
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;