aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-08-22 12:29:21 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-08-25 12:14:47 +0000
commit52ecf85946cbbcabc77d747c1f1ffd48768ef14e (patch)
tree459f3c783678aacf89ab2c327e8f0138c44dc300
parent78c7daaf6d866e7c5ad01e5d7251cd0955b8f745 (diff)
VPP-321: Fix param order of unformat_lisp_eid_api
Change-Id: Ib00ca0f0dab4784a3fb34ffd91c18a3940e9a5d5 Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 251aec436b9e3be15f92a464fa4559396b115b2a)
-rw-r--r--vpp/vpp-api/api.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c
index 1e67e52d5f8..7a314e25b9d 100644
--- a/vpp/vpp-api/api.c
+++ b/vpp/vpp-api/api.c
@@ -5744,9 +5744,8 @@ vl_api_lisp_eid_table_dump_t_handler (vl_api_lisp_eid_table_dump_t * mp)
{
memset (eid, 0, sizeof (*eid));
- unformat_lisp_eid_api (eid, mp->eid_type,
- clib_net_to_host_u32 (mp->vni), mp->eid,
- mp->prefix_length);
+ unformat_lisp_eid_api (eid, clib_net_to_host_u32 (mp->vni),
+ mp->eid_type, mp->eid, mp->prefix_length);
mi = gid_dictionary_lookup (&lcm->mapping_index_by_gid, eid);
if ((u32) ~ 0 == mi)