From: Florin Coras Date: Mon, 27 Nov 2017 18:37:05 +0000 (-0800) Subject: vcl: fix session handle in accept reply X-Git-Tag: v18.04-rc0~165 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=50e8bdb4e6f792b85a93da4292d285ecdb2914e6 vcl: fix session handle in accept reply Change-Id: I5afd840c07714fc457bb37f8f40e1fcc0bd11314 Signed-off-by: Florin Coras --- diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index 092c2198c59..e180967339b 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -1063,7 +1063,7 @@ format_ip46_address (u8 * s, va_list * args) } static inline void -vppcom_send_accept_session_reply (u32 handle, u32 context, int retval) +vppcom_send_accept_session_reply (u64 handle, u32 context, int retval) { vl_api_accept_session_reply_t *rmp; @@ -1138,10 +1138,10 @@ vl_api_accept_session_t_handler (vl_api_accept_session_t * mp) if (VPPCOM_DEBUG > 1) clib_warning ("[%d] vpp handle 0x%llx, sid %u: client accept " - "request from %s address %U port %d!", getpid (), + "request from %s address %U port %d queue %p!", getpid (), mp->handle, session_index, mp->is_ip4 ? "IPv4" : "IPv6", format_ip46_address, &mp->ip, mp->is_ip4, - clib_net_to_host_u16 (mp->port)); + clib_net_to_host_u16 (mp->port), session->vpp_event_queue); } static void