From 508bbc426747750cfa7171a0ae1d1c777c98a800 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Mon, 1 Apr 2019 18:13:55 +0200 Subject: [HICN-157] Fixed wrong host to network conversion of face id in hicn_face_ip_add binary api Change-Id: I498d798efe683ceff882496659764184f2733e9d Signed-off-by: Alberto Compagno --- hicn-plugin/src/hicn_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hicn-plugin/src/hicn_api.c b/hicn-plugin/src/hicn_api.c index b4d518774..c8b3dc269 100644 --- a/hicn-plugin/src/hicn_api.c +++ b/hicn-plugin/src/hicn_api.c @@ -268,7 +268,7 @@ vl_api_hicn_api_face_ip_add_t_handler (vl_api_hicn_api_face_ip_add_t * mp) /* *INDENT-OFF* */ REPLY_MACRO2 (VL_API_HICN_API_FACE_IP_ADD_REPLY /* , rmp, mp, rv */ ,( { - rmp->faceid = clib_host_to_net_u16 ((u32) faceid); + rmp->faceid = clib_host_to_net_u32 ((u32) faceid); rmp->retval = rv; })); /* *INDENT-ON* */ -- cgit 1.2.3-korg