From f453a10cd4575f4d0a0467a4d61c75466cfd6efc Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 9 Jan 2018 04:11:28 -0800 Subject: BIER: missing endian swap for imposition object in API return Change-Id: Iddd754d00ace3d042336e5c2c40431566275051a Signed-off-by: Neale Ranns (cherry picked from commit eea537a288721b867d65b736363ab3f71ba6116c) --- src/vnet/bier/bier_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vnet/bier/bier_api.c b/src/vnet/bier/bier_api.c index 92712580f14..3da6c192f1f 100644 --- a/src/vnet/bier/bier_api.c +++ b/src/vnet/bier/bier_api.c @@ -350,7 +350,7 @@ vl_api_bier_imp_add_t_handler (vl_api_bier_imp_add_t * mp) /* *INDENT-OFF* */ REPLY_MACRO2 (VL_API_BIER_IMP_ADD_REPLY, ({ - rmp->bi_index = bii; + rmp->bi_index = ntohl (bii); })); /* *INDENT-OM* */ } -- cgit 1.2.3-korg