Ethereal-users: Re: [Ethereal-users] tethereal -h core dump

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, 27 May 2002 13:22:39 -0700
On Mon, May 27, 2002 at 10:28:02AM +1000, Eddie Luc wrote:
> What can I do?

Either

	1) wait for the next release;

	2) don't run "tethereal -h";

	3) apply the attached patch and rebuild.
Index: wiretap/file.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/wiretap/file.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -c -r1.87 -r1.88
*** wiretap/file.c	18 Apr 2002 21:35:57 -0000	1.87
--- wiretap/file.c	22 May 2002 22:57:54 -0000	1.88
***************
*** 363,369 ****
  	  netxray_dump_can_write_encap, netxray_dump_open_1_1 },
  
  	/* WTAP_FILE_NETXRAY_2_00x */
! 	{ "Network Associates Sniffer (Windows-based) 2.00x", NULL,
  	  netxray_dump_can_write_encap, netxray_dump_open_2_0 },
  
  	/* WTAP_FILE_RADCOM */
--- 363,369 ----
  	  netxray_dump_can_write_encap, netxray_dump_open_1_1 },
  
  	/* WTAP_FILE_NETXRAY_2_00x */
! 	{ "Network Associates Sniffer (Windows-based) 2.00x", "ngwsniffer_2_0",
  	  netxray_dump_can_write_encap, netxray_dump_open_2_0 },
  
  	/* WTAP_FILE_RADCOM */