diff options
author | Ole Troan <otroan@employees.org> | 2024-09-03 10:45:00 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-09-05 11:40:06 +0000 |
commit | 222ff2beafe238fe47c4bd059b2ab11482d520f2 (patch) | |
tree | f1bc27b98969a6928b85d846fac4ad0ad647646b /src/vlibapi | |
parent | 88c836c26719406484c95636e5a7933a29164cd7 (diff) |
api: fix endian issue for api trace save-json
Type: fix
Fixes: 1a319aadc68c218f741a7cb23acbe70c4addae92
Change-Id: I471e61176fc52421cf91e7989185755fb0355158
Signed-off-by: Ole Troan <otroan@employees.org>
Diffstat (limited to 'src/vlibapi')
-rw-r--r-- | src/vlibapi/api_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlibapi/api_shared.c b/src/vlibapi/api_shared.c index 79064b292c9..1f02aefe88a 100644 --- a/src/vlibapi/api_shared.c +++ b/src/vlibapi/api_shared.c @@ -230,7 +230,7 @@ vl_msg_api_trace_write_one (api_main_t *am, u8 *msg, FILE *fp) if (m && m->endian_handler) { - m->endian_handler (tmpmem, 1); + m->endian_handler (tmpmem, 0 /* host endian */); } if (m && m->tojson_handler) |