Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
88c836c
)
api: fix endian issue for api trace save-json
22/41522/2
author
Ole Troan
<
[email protected]
>
Tue, 3 Sep 2024 08:45:00 +0000
(10:45 +0200)
committer
Damjan Marion
<
[email protected]
>
Thu, 5 Sep 2024 11:40:06 +0000
(11:40 +0000)
Type: fix
Fixes:
1a319aadc68c218f741a7cb23acbe70c4addae92
Change-Id: I471e61176fc52421cf91e7989185755fb0355158
Signed-off-by: Ole Troan <
[email protected]
>
src/vlibapi/api_shared.c
patch
|
blob
|
history
diff --git
a/src/vlibapi/api_shared.c
b/src/vlibapi/api_shared.c
index
79064b2
..
1f02aef
100644
(file)
--- 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)