summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
79a32a4)
tag should be added at the end of the reply message instead of
overwriting the original data.
Type: fix
Fixed:
dd1e3e780c
Change-Id: I4b31cf3a4a41b49ea9039a9398114dbf49a53e57
Signed-off-by: Benoît Ganne <bganne@cisco.com>
rmp = vl_msg_api_alloc (len);
clib_memset (rmp, 0, len);
rmp = vl_msg_api_alloc (len);
clib_memset (rmp, 0, len);
- sp = (void *) &m->locals +
+ sp = (void *) &rmp->locals +
sizeof (vl_api_nat44_lb_addr_port_t) * pool_elts (m->locals);
vl_api_to_api_string (vec_len (m->tag), (char *) m->tag, sp);
}
sizeof (vl_api_nat44_lb_addr_port_t) * pool_elts (m->locals);
vl_api_to_api_string (vec_len (m->tag), (char *) m->tag, sp);
}