From d5a588230f3e05fd496939bea304fca84a687fa3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 14 May 2021 20:11:14 -0700 Subject: session: fix coverity warning Type: fix Signed-off-by: Florin Coras Change-Id: I24484a5192d7e683507ed640f75fb37914c0efb0 --- src/vnet/session/application_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/session') diff --git a/src/vnet/session/application_local.c b/src/vnet/session/application_local.c index e06198308d1..6a02f23be85 100644 --- a/src/vnet/session/application_local.c +++ b/src/vnet/session/application_local.c @@ -403,7 +403,7 @@ ct_connect (app_worker_t * client_wrk, session_t * ll, ho->peer_index = ll->session_index; ho->c_proto = TRANSPORT_PROTO_NONE; ho->c_flags |= TRANSPORT_CONNECTION_F_NO_LOOKUP; - clib_memcpy (&ho->c_rmt_ip, &sep->ip, sizeof (&sep->ip)); + clib_memcpy (&ho->c_rmt_ip, &sep->ip, sizeof (sep->ip)); ho->flags |= CT_CONN_F_CLIENT; ho->c_s_index = ~0; -- cgit 1.2.3-korg