Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] tethereal output broken (prints capturefile)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 07 Feb 2005 11:47:59 -0800
julien.leproust@xxxxxxxx wrote:

I see the same behaviour with latest svn, whenever reading from a file or from libpcap. I also have a segmentation fault when launching tethereal with no argument, when g_free()ing capture_opts.save_file. It seems that save_file should have been g_strdup(""), but it is no more.

It seems to work now - "save_file" is now initialized to NULL, not to a null string, so that the default behavior is to write dissected packets to the standard output, which probably also fixed the crash you were seeing.