diff options
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r-- | src/vnet/lisp-cp/one_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |