diff options
author | Florin Coras <fcoras@cisco.com> | 2019-02-25 15:17:28 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-02-26 15:28:26 +0000 |
commit | 70c35f302800d8d5e1ef376c4b0ad547b1977556 (patch) | |
tree | 7ae6a89e168c36ab40c654dd3279fc11aebc6434 /src/vnet/session/session_api.c | |
parent | 3bce8ebfdfaf2a4b576012beb3516d1f4030c20c (diff) |
session: fix local binds
Change-Id: I1d92bec29c718de7a517bbbb335d09c68c221c71
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-x | src/vnet/session/session_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 57807874589..f96274ae3f3 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -710,7 +710,9 @@ mq_send_session_bound_cb (u32 app_wrk_index, u32 api_context, else { local_session_t *local; - local = application_get_local_listener_w_handle (handle); + app_listener_t *al; + al = app_listener_get_w_handle (handle); + local = application_get_local_listen_session (app, al->local_index); mp->lcl_port = local->port; mp->lcl_is_ip4 = session_type_is_ip4 (local->session_type); } |