summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-14 20:11:14 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-05-15 17:20:04 +0000
commitd5a588230f3e05fd496939bea304fca84a687fa3 (patch)
tree93a9184c88a7cf08f344b0a162c88df474af1d68 /src/vnet/session
parent7dcc339ad4a4a7f7e1f039a8b2950c35665bd5c3 (diff)
session: fix coverity warning
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I24484a5192d7e683507ed640f75fb37914c0efb0
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/application_local.c2
1 files changed, 1 insertions, 1 deletions
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;