diff options
author | John Thacker <johnthacker@gmail.com> | 2022-01-17 19:26:27 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2022-02-10 23:28:53 -0500 |
commit | 0011bb6a4c628b14f706288f58a056b7378f3c53 (patch) | |
tree | aa5e74e4c5087b8cbad798841537739b166c2ce6 /file.c | |
parent | fc3f061829aa4ba20589bd4caa802aee1756f083 (diff) |
Qt: Allow omitting secondary data sources when printing
Add a checkbox to the packet format group box to allow the
hexdump to only have the main frame instead of secondary data
sources as well, so that Print and Export Packet Dissections can
be used for input to text2pcap.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, HEXDUMP_SOURCE_MULTI | HEXDUMP_ASCII_INCLUDE)) + if (!print_hex_data(args->print_args->stream, &args->edt, args->print_args->hexdump_options)) goto fail; /* Print a blank line if we print anything after this (aka more than one packet). */ |