From 5391e19c9cb56e53437c8634725f130283bc5951 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Fri, 4 Aug 2017 09:13:50 +0200 Subject: LISP: fix map register TTL reply handler, VPP-926 Change-Id: I0c638ad5dabc035b4b7de3b9befbe2c8ba7b0b66 Signed-off-by: Filip Tehlar --- src/vnet/lisp-cp/one_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnet/lisp-cp/one_api.c b/src/vnet/lisp-cp/one_api.c index 2922993ff30..db443b5198f 100644 --- a/src/vnet/lisp-cp/one_api.c +++ b/src/vnet/lisp-cp/one_api.c @@ -152,7 +152,7 @@ vl_api_one_map_register_set_ttl_t_handler (vl_api_one_map_register_set_ttl_t * vl_api_one_map_register_set_ttl_reply_t *rmp; int rv = 0; - vl_api_one_map_register_set_ttl_t_endian (mp); + mp->ttl = clib_net_to_host_u32 (mp->ttl); rv = vnet_lisp_map_register_set_ttl (mp->ttl); REPLY_MACRO (VL_API_ONE_MAP_REGISTER_SET_TTL_REPLY); -- cgit 1.2.3-korg