Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API: Change ip4_address and ip6_address to use type alias.
[vpp.git]
/
src
/
plugins
/
nat
/
nat_test.c
diff --git
a/src/plugins/nat/nat_test.c
b/src/plugins/nat/nat_test.c
index
0a2896b
..
b1de534
100644
(file)
--- a/
src/plugins/nat/nat_test.c
+++ b/
src/plugins/nat/nat_test.c
@@
-707,7
+707,7
@@
static int api_nat44_user_session_dump(vat_main_t * vam)
/* Use a control ping for synchronization */
M(NAT_CONTROL_PING, mp_ping);
- memset(mp->ip_address, 0, 16);
+
clib_
memset(mp->ip_address, 0, 16);
clib_memcpy(mp->ip_address, &addr, 4);
mp->vrf_id = htonl(vrf_id);
S(mp_ping);