diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-01-18 12:57:37 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-01-30 10:40:35 +0000 |
commit | 5fae99c184e09342aed888d4d7790b533513209f (patch) | |
tree | f636af17d41b0c0ea307647357cd019cbe7278a9 /src/vnet/lisp-cp/lisp_api.c | |
parent | 006eb478bb7a14ba7ba4199fecce29ebc495fb9c (diff) |
LISP: add dump calls for GPE entries API
Change-Id: Ie7f51643fd3522a0fa8df8d0309305481c211f5f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/lisp_api.c')
-rw-r--r-- | src/vnet/lisp-cp/lisp_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/lisp-cp/lisp_api.c b/src/vnet/lisp-cp/lisp_api.c index 6e07a5c7000..767f4c6f869 100644 --- a/src/vnet/lisp-cp/lisp_api.c +++ b/src/vnet/lisp-cp/lisp_api.c @@ -1092,12 +1092,11 @@ vl_api_lisp_adjacencies_get_t_handler (vl_api_lisp_adjacencies_get_t * mp) vl_api_lisp_adjacencies_get_reply_t *rmp = 0; lisp_adjacency_t *adjs = 0; int rv = 0; - vl_api_lisp_adjacency_t a; u32 size = ~0; u32 vni = clib_net_to_host_u32 (mp->vni); adjs = vnet_lisp_adjacencies_get_by_vni (vni); - size = vec_len (adjs) * sizeof (a); + size = vec_len (adjs) * sizeof (vl_api_lisp_adjacency_t); /* *INDENT-OFF* */ REPLY_MACRO4 (VL_API_LISP_ADJACENCIES_GET_REPLY, size, |