summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_worker.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-10-27 09:21:50 -0700
committerFlorin Coras <florin.coras@gmail.com>2023-10-27 16:15:58 +0000
commit4197fb95f29a934034833534f1b0bf414e889fcf (patch)
treeb2147f3a77dcd896ff3cd3475124d9468b332076 /src/vnet/session/application_worker.c
parent81c85142194fec2da6e9e2741cc88cfbcae61aa1 (diff)
session: fix bind replies with errors
Type: fix Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Icdff3528fcaf863b400b9aca6c30d284bc17d5f0
Diffstat (limited to 'src/vnet/session/application_worker.c')
-rw-r--r--src/vnet/session/application_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c
index a806c4ad13d..960d916133f 100644
--- a/src/vnet/session/application_worker.c
+++ b/src/vnet/session/application_worker.c
@@ -369,7 +369,7 @@ app_worker_listened_notify (app_worker_t *app_wrk, session_handle_t alsh,
{
session_event_t evt = { .event_type = SESSION_CTRL_EVT_BOUND,
.as_u64[0] = alsh,
- .as_u64[1] = (u64) opaque << 32 | err };
+ .as_u64[1] = (u64) opaque << 32 | (u32) err };
app_worker_add_event_custom (app_wrk, 0 /* thread index */, &evt);