X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fnat%2Fnat_det.c;h=0ab96dc1026dd62df25b3ec0f492dfe492686d9a;hb=377860a7394970d339a33717a8c4c8cad328632f;hp=1b00d40b4ae43a18ce2b16e94e8b4fef580897cd;hpb=36ea2d6d3a67a60534a7c2b58551688858a1ce7f;p=vpp.git diff --git a/src/plugins/nat/nat_det.c b/src/plugins/nat/nat_det.c index 1b00d40b4ae..0ab96dc1026 100644 --- a/src/plugins/nat/nat_det.c +++ b/src/plugins/nat/nat_det.c @@ -72,7 +72,7 @@ snat_det_add_map (snat_main_t * sm, ip4_address_t * in_addr, u8 in_plen, if (is_add) { pool_get (sm->det_maps, det_map); - memset (det_map, 0, sizeof (*det_map)); + clib_memset (det_map, 0, sizeof (*det_map)); det_map->in_addr.as_u32 = in_cmp.as_u32; det_map->in_plen = in_plen; det_map->out_addr.as_u32 = out_cmp.as_u32;