c11 safe string handling support
[vpp.git] / src / plugins / nsh / nsh-md2-ioam / nsh_md2_ioam_trace.c
index 1baa236..495bb16 100644 (file)
@@ -366,7 +366,7 @@ nsh_md2_ioam_trace_init (vlib_main_t * vm)
   gm->unix_time_0 = (u32) time (0);    /* Store starting time */
   gm->vlib_time_0 = vlib_time_now (vm);
 
-  memset (hm->counters, 0, sizeof (hm->counters));
+  clib_memset (hm->counters, 0, sizeof (hm->counters));
 
   if (nsh_md2_register_option
       (clib_host_to_net_u16 (0x9),