aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
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:15:08 +0000
commit1d7d2ab7187189509a65abaed934fedde3482936 (patch)
treebcc2999c428c471966c20d7e9d1ebe15ea2980c7 /src/vnet/lisp-cp
parent9b2cca99e28ef60ac8f10894711e49683ac7bb2a (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>
Diffstat (limited to 'src/vnet/lisp-cp')
-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,