diff options
Diffstat (limited to 'vpp/vpp-api/api.c')
-rw-r--r-- | vpp/vpp-api/api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index a5f50ff1..70798f73 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); |