aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-12-13 18:22:32 -0500
committerDave Barach <dave@barachs.net>2016-12-13 18:22:53 -0500
commitbc5643d18097ab32e2a4f7ef11b72ae9bee6da1f (patch)
tree51a7208b8608bd8f3667b45b5614fdfcc76513f9
parent04f4b78ce25a38ca3feef7d454ad20705b379941 (diff)
Fix coverity build-break, VPP-255
Change-Id: I6a68f2ba5e7a5c76ac4e6b3e8f7cf695b1d66c54 Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--vpp/vpp-api/api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c
index a5f50ff1eef..70798f73166 100644
--- a/vpp/vpp-api/api.c
+++ b/vpp/vpp-api/api.c
@@ -6876,10 +6876,10 @@ send_bfd_udp_session_details (unix_shared_memory_queue_t * q, u32 context,
}
else
{
- clib_memcpy (mp->local_addr, &key->local_addr.ip4.data,
- sizeof (&key->local_addr.ip4.data));
- clib_memcpy (mp->peer_addr, &key->peer_addr.ip4.data,
- sizeof (&key->peer_addr.ip4.data));
+ clib_memcpy (mp->local_addr, key->local_addr.ip4.data,
+ sizeof (key->local_addr.ip4.data));
+ clib_memcpy (mp->peer_addr, key->peer_addr.ip4.data,
+ sizeof (key->peer_addr.ip4.data));
}
vl_msg_api_send_shmem (q, (u8 *) & mp);