Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This looks like a bug in tshark (global_capture_opts.has_file_packets check missing at line 1775).

You can report this at the Wireshark issues list https://gitlab.com/wireshark/wireshark/-/issues .

When capturing to file just use dumpcap instead of thshark, with same command line options. All tshark does here is calling dumpcap to do the capturing.