THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

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.