Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
plugins
/
srv6-am
/
am.c
diff --git
a/src/plugins/srv6-am/am.c
b/src/plugins/srv6-am/am.c
index
877b1b3
..
ce8b4d9
100644
(file)
--- 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 */
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,
/* Our brand-new car is ready */
clib_memcpy (&ls_mem->nh_addr.ip6, &nh_addr.ip6,