summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-11-27 10:37:05 -0800
committerFlorin Coras <florin.coras@gmail.com>2017-11-27 21:16:32 +0000
commit50e8bdb4e6f792b85a93da4292d285ecdb2914e6 (patch)
tree24788fff4f49b416acf2903970e68b03ae638753
parentc3ddea8fa9b959956fd8df66c8d3c4dbe99e0a77 (diff)
vcl: fix session handle in accept reply
Change-Id: I5afd840c07714fc457bb37f8f40e1fcc0bd11314 Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--src/vcl/vppcom.c6
1 files changed, 3 insertions, 3 deletions
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