summaryrefslogtreecommitdiffstats
path: root/vnet/test/lisp-cp/test_cp_serdes.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/test/lisp-cp/test_cp_serdes.c')
-rw-r--r--vnet/test/lisp-cp/test_cp_serdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/test/lisp-cp/test_cp_serdes.c b/vnet/test/lisp-cp/test_cp_serdes.c
index 9e89dd9114e..d77c294d70f 100644
--- a/vnet/test/lisp-cp/test_cp_serdes.c
+++ b/vnet/test/lisp-cp/test_cp_serdes.c
@@ -154,7 +154,7 @@ static clib_error_t * test_lisp_msg_parse_mapping_record ()
0xaa, 0xbb, 0xcc, 0xdd, /* Loator */
};
b->current_length = buff_len;
- memcpy(b->data, map_reply_records, sizeof(map_reply_records));
+ clib_memcpy(b->data, map_reply_records, sizeof(map_reply_records));
lisp_msg_parse_mapping_record (b, &eid, &locs, &probed);
_assert(vec_len (locs) == 1);