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
/
nat
/
nat_det.c
diff --git
a/src/plugins/nat/nat_det.c
b/src/plugins/nat/nat_det.c
index
1b00d40
..
0ab96dc
100644
(file)
--- 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;