summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/cdp/cdp_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/cdp/cdp_node.c')
-rw-r--r--vnet/vnet/cdp/cdp_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/cdp/cdp_node.c b/vnet/vnet/cdp/cdp_node.c
index a826b127af9..7411ebeb5f6 100644
--- a/vnet/vnet/cdp/cdp_node.c
+++ b/vnet/vnet/cdp/cdp_node.c
@@ -86,7 +86,7 @@ cdp_node_fn (vlib_main_t * vm,
len = (b0->current_length < sizeof (t0->data))
? b0->current_length : sizeof (t0->data);
t0->len = len;
- memcpy (t0->data, vlib_buffer_get_current (b0), len);
+ clib_memcpy (t0->data, vlib_buffer_get_current (b0), len);
}
/* push this pkt to the next graph node, always error-drop */
vlib_set_next_frame_buffer (vm, node, next0, bi0);