diff options
author | Florin Coras <fcoras@cisco.com> | 2020-05-29 16:18:57 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-05-29 20:50:25 +0000 |
commit | f3c1e4b61269cd93302073a631a2549f1aeb24d9 (patch) | |
tree | b14da6f2534e16aec112b8d335a6da3dee9b6415 | |
parent | 9b72b153d85d0e3e0ca218bcf1564805424b64b9 (diff) |
lisp: fix api_format
Type: fix
Ticket: VPP-1885
Fixes: 58db6e1
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I6431e49b315e09490fed8fd70ac53872836c6a09
-rw-r--r-- | src/vat/api_format.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 7f361e0b7f8..ea79b9508b5 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -2958,7 +2958,7 @@ vl_api_one_eid_table_details_t_handler (vl_api_one_eid_table_details_t * mp) s = format (0, "%d", clib_net_to_host_u32 (mp->locator_set_index)); eid = format (0, "%U", format_lisp_eid_vat, - mp->deid, mp->seid, mp->is_src_dst); + &mp->deid, &mp->seid, mp->is_src_dst); vec_add1 (eid, 0); print (vam->ofp, "[%d] %-35s%-20s%-30s%-20d%-20d%-10d%-20s", @@ -3007,7 +3007,7 @@ vl_api_one_eid_table_details_t_handler_json (vl_api_one_eid_table_details_t else { eid = format (0, "%U", format_lisp_eid_vat, - mp->deid, mp->seid, mp->is_src_dst); + &mp->deid, &mp->seid, mp->is_src_dst); vec_add1 (eid, 0); vat_json_object_add_string_copy (node, "eid", eid); vec_free (eid); @@ -3031,9 +3031,9 @@ vl_api_one_stats_details_t_handler (vl_api_one_stats_details_t * mp) u8 *seid = 0, *deid = 0; ip46_address_t lloc, rloc; - deid = format (0, "%U", format_lisp_eid_vat, mp->deid, 0); + deid = format (0, "%U", format_lisp_eid_vat, &mp->deid, 0, 0); - seid = format (0, "%U", format_lisp_eid_vat, mp->seid, 0); + seid = format (0, "%U", format_lisp_eid_vat, &mp->seid, 0, 0); vec_add1 (deid, 0); vec_add1 (seid, 0); @@ -3079,9 +3079,9 @@ vl_api_one_stats_details_t_handler_json (vl_api_one_stats_details_t * mp) node = vat_json_array_add (&vam->json_tree); vat_json_init_object (node); - deid = format (0, "%U", format_lisp_eid_vat, mp->deid, 0); + deid = format (0, "%U", &format_lisp_eid_vat, mp->deid, 0, 0); - seid = format (0, "%U", format_lisp_eid_vat, mp->seid, 0); + seid = format (0, "%U", &format_lisp_eid_vat, mp->seid, 0, 0); vec_add1 (deid, 0); vec_add1 (seid, 0); |