aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorJim Young <jim.young.ws@gmail.com>2022-01-13 01:18:38 +0000
committerA Wireshark GitLab Utility <6629907-ws-gitlab-utility@users.noreply.gitlab.com>2022-01-13 01:18:38 +0000
commitb5f89dbe2db357a0f4a08de7d00fdeed7ca2780c (patch)
treeefb39d934db6b08b75e3813c73dab83a623b9d44 /file.c
parentfdc5166234f36e572af427a9810e32c79ee61720 (diff)
tshark: Add new long option --hexdump <hexoption>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index a1fb7d3301..02c9c4ae04 100644
--- a/file.c
+++ b/file.c
@@ -2467,7 +2467,7 @@ print_packet(capture_file *cf, frame_data *fdata, wtap_rec *rec, Buffer *buf,
goto fail;
}
/* Print the full packet data as hex. */
- if (!print_hex_data(args->print_args->stream, &args->edt))
+ if (!print_hex_data(args->print_args->stream, &args->edt, HEXDUMP_SOURCE_MULTI | HEXDUMP_ASCII_INCLUDE))
goto fail;
/* Print a blank line if we print anything after this (aka more than one packet). */