diff options
author | Florin Coras <fcoras@cisco.com> | 2017-11-09 10:05:42 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-11-09 20:31:16 +0000 |
commit | ef24d42e717ebee44008bc83229e1cb3e7eeb5ae (patch) | |
tree | e2d42920833abb7aba4b0a350c9dce70126aa11e /src/vnet | |
parent | 75e974b45faef7fa36f6da5a0938f2a86a2a2f80 (diff) |
session: fix app index in unbind
Change-Id: Iff1a665b6cf9ca2def0fcdacf02d7f8c579c0f4e
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet')
-rwxr-xr-x | src/vnet/session/session_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index fc0a257f9fe..e0348df5a4b 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -676,7 +676,7 @@ vl_api_unbind_sock_t_handler (vl_api_unbind_sock_t * mp) app = application_lookup (mp->client_index); if (app) { - a->app_index = mp->client_index; + a->app_index = app->index; a->handle = mp->handle; if ((error = vnet_unbind (a))) { |