diff options
Diffstat (limited to 'src/vlibmemory/vlib_api_cli.c')
-rwxr-xr-x | src/vlibmemory/vlib_api_cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlibmemory/vlib_api_cli.c b/src/vlibmemory/vlib_api_cli.c index 0d5ce96fbdf..08db458612f 100755 --- a/src/vlibmemory/vlib_api_cli.c +++ b/src/vlibmemory/vlib_api_cli.c @@ -548,7 +548,8 @@ vl_msg_api_process_file (vlib_main_t * vm, u8 * filename, * Endian swap if needed. All msg data is supposed to be in * network byte order. */ - if ((which == DUMP && clib_arch_is_little_endian)) + if (((which == DUMP || which == CUSTOM_DUMP) + && clib_arch_is_little_endian)) { void (*endian_fp) (void *); if (msg_id >= vec_len (am->msg_endian_handlers) |