interface api: restore order of context value 97/35697/4
authorVratko Polak <vrpolak@cisco.com>
Thu, 17 Mar 2022 17:57:40 +0000 (18:57 +0100)
committerDamjan Marion <dmarion@me.com>
Mon, 4 Apr 2022 22:29:43 +0000 (22:29 +0000)
commit72c04bb7df6b6dda1ba8274a028e7a3811c17903
tree2a6c95fb3d5c26cc5c4c2bfee2b535c62b44e527
parent86aabbbeeec264bf9653992ec2e4affa629fff0f
interface api: restore order of context value

vl_api_sw_interface_tx_placement_get_t_handler is autoendian.
So (contrary to most other uses) the context is in native order there.
Thus, send_interface_tx_placement_details needs to convert back
before using REPLY_MACRO_DETAILS5 macro.

Type: fix
Fixes: 0d05c0d214ffd326e531bea58f3c971bb9a58252

Change-Id: I00a3734cafa66d7d76c7edaea526a1eae0448ad9
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
src/vnet/interface_api.c