summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-04-01 18:13:55 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-04-01 18:13:55 +0200
commit508bbc426747750cfa7171a0ae1d1c777c98a800 (patch)
tree03624714ee7e544e2725ab3ec8fc77978ee01019 /hicn-plugin/src
parentfe16eee83b82383974996cffc0f423aa9deb50d9 (diff)
[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 <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src')
-rw-r--r--hicn-plugin/src/hicn_api.c2
1 files changed, 1 insertions, 1 deletions
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* */