diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-08-04 09:13:50 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-08-05 03:07:19 +0000 |
commit | 5391e19c9cb56e53437c8634725f130283bc5951 (patch) | |
tree | c29a3126e90efa859a161f4034ca8ae2d93936b9 /src/vnet/lisp-cp | |
parent | 63a46fc9becba3a002ac923b7932f574a1bfe809 (diff) |
LISP: fix map register TTL reply handler, VPP-926
Change-Id: I0c638ad5dabc035b4b7de3b9befbe2c8ba7b0b66
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
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); |