Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9b2cca9
)
VPP-902: LISP-CP: Wrong size in one_l2_arp_entries_get message.
41/7441/3
author
Ole Troan
<ot@cisco.com>
Thu, 6 Jul 2017 12:25:38 +0000
(14:25 +0200)
committer
Florin Coras
<florin.coras@gmail.com>
Thu, 6 Jul 2017 17:15:08 +0000
(17:15 +0000)
Change-Id: I56bf6b46527f9465d78ed7c08b6e216e50c135ec
Signed-off-by: Ole Troan <ot@cisco.com>
src/vnet/lisp-cp/one_api.c
patch
|
blob
|
history
diff --git
a/src/vnet/lisp-cp/one_api.c
b/src/vnet/lisp-cp/one_api.c
index
f1cf690
..
cac3313
100644
(file)
--- a/
src/vnet/lisp-cp/one_api.c
+++ b/
src/vnet/lisp-cp/one_api.c
@@
-1555,7
+1555,7
@@
vl_api_one_l2_arp_entries_get_t_handler (vl_api_one_l2_arp_entries_get_t * mp)
u32 bd = clib_net_to_host_u32 (mp->bd);
entries = vnet_lisp_l2_arp_entries_get_by_bd (bd);
- u32 size = vec_len (entries) * sizeof (
u32
);
+ u32 size = vec_len (entries) * sizeof (
vl_api_one_l2_arp_entry_t
);
/* *INDENT-OFF* */
REPLY_MACRO4 (VL_API_ONE_L2_ARP_ENTRIES_GET_REPLY, size,