Ethereal-dev: Re: [Ethereal-dev] Patch to packet-ppp.c

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 7 Feb 2003 12:11:28 -0800
On Fri, Feb 07, 2003 at 10:40:03AM +0100, PELLE Thierry FTRD/DAC/ISS wrote:
> 	here is a patch to packet-ppp.c which apply some modifications
> to IPV6CP dissector

Checked in.

The patch was had its lines "helpfully" split by your mail software, so
I had to apply it by hand; try sending patches as attachments rather
than in the body of the message, as the mail software might not try to
reformat that.

Also:

> --- /root/packet-ppp.c	Tue Feb  4 17:30:17 2003
> +++ ethereal-2003-02-04/packet-ppp.c	Wed Jan 29 00:56:39 2003

I infer from the later date on the first of those files, and the fact
that

> @@ -154,7 +154,7 @@
>  
>  static gint ett_ipv6cp = -1;
>  static gint ett_ipv6cp_options = -1;
> -static gint ett_ipv6cp_if_id_opt = -1;
> +static gint ett_ipv6cp_if_token_opt = -1;
>  static gint ett_ipv6cp_compressprot_opt = -1;  

the file already had a "ett_ipv6cp_if_token_opt" variable, that the
patch was a "reverse" patch, i.e. that it represents changes from your
new version back to the current version.