aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-am
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/srv6-am')
-rw-r--r--src/plugins/srv6-am/am.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/srv6-am/am.c b/src/plugins/srv6-am/am.c
index 877b1b3c116..ce8b4d9b2ce 100644
--- a/src/plugins/srv6-am/am.c
+++ b/src/plugins/srv6-am/am.c
@@ -141,7 +141,7 @@ unformat_srv6_am_localsid (unformat_input_t * input, va_list * args)
ls_mem = clib_mem_alloc_aligned_at_offset (sizeof *ls_mem, 0, 0, 1);
/* Set to zero the memory */
- memset (ls_mem, 0, sizeof *ls_mem);
+ clib_memset (ls_mem, 0, sizeof *ls_mem);
/* Our brand-new car is ready */
clib_memcpy (&ls_mem->nh_addr.ip6, &nh_addr.ip6,