summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/snap/snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/snap/snap.c')
-rw-r--r--vnet/vnet/snap/snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/snap/snap.c b/vnet/vnet/snap/snap.c
index df15f8614c6..fb5b031c069 100644
--- a/vnet/vnet/snap/snap.c
+++ b/vnet/vnet/snap/snap.c
@@ -164,7 +164,7 @@ unformat_snap_header (unformat_input_t * input, va_list * args)
u32 n_bytes = sizeof (h[0]);
vec_add2 (*result, p, n_bytes);
- memcpy (p, h, n_bytes);
+ clib_memcpy (p, h, n_bytes);
}
return 1;