From f1213b82771ce929c076339c24a777cfd59690e6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 13 Mar 2016 02:22:06 +0100 Subject: Add clib_memcpy macro based on DPDK rte_memcpy implementation Change-Id: I22cb443c4bd0bf298abb6f06e8e4ca65a44a2854 Signed-off-by: Damjan Marion --- vnet/test/lisp-cp/test_cp_serdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnet/test/lisp-cp/test_cp_serdes.c') diff --git a/vnet/test/lisp-cp/test_cp_serdes.c b/vnet/test/lisp-cp/test_cp_serdes.c index 9e89dd91..d77c294d 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); -- cgit 1.2.3-korg