summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-07-06 14:25:38 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-07-06 17:01:09 +0000
commit0786710856a1cf749ce6fe6d6916f0c6bdbc1986 (patch)
tree616dc67bbb0038b2059208da35e00ca948afe136
parent6a98580c707b40ebffb1853b04d7a614c6552aeb (diff)
VPP-902: LISP-CP: Wrong size in one_l2_arp_entries_get message.
Change-Id: I56bf6b46527f9465d78ed7c08b6e216e50c135ec Signed-off-by: Ole Troan <ot@cisco.com>
-rw-r--r--src/vnet/lisp-cp/one_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/one_api.c b/src/vnet/lisp-cp/one_api.c
index f1cf690f47d..cac3313f7d1 100644
--- 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,