c11 safe string handling support
[vpp.git] / src / plugins / ioam / encap / ip6_ioam_pot.c
index 9a76123..8dd06c1 100644 (file)
@@ -242,7 +242,7 @@ ip6_hop_by_hop_ioam_pot_init (vlib_main_t * vm)
 
   hm->vlib_main = vm;
   hm->vnet_main = vnet_get_main();
-  memset(hm->counters, 0, sizeof(hm->counters));
+  clib_memset(hm->counters, 0, sizeof(hm->counters));
   
   if (ip6_hbh_register_option(HBH_OPTION_TYPE_IOAM_PROOF_OF_TRANSIT, ip6_hbh_ioam_proof_of_transit_handler,
                              ip6_hbh_ioam_proof_of_transit_trace_handler) < 0)