[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-dev
Subject:    Re: [Ethereal-dev] packet-cpha.c one liner fix (crash)
From:       Guy Harris <gharris () sonic ! net>
Date:       2002-08-28 20:04:09
[Download RAW message or body]

On Wed, Aug 28, 2002 at 11:59:04AM +0200, Yaniv Kaul wrote:
> Smallest typo (hdr.is_if_trusted instead of hf_is_if_trusted in line 415):

Checked in.

> --- packet-cpha.c       Wed Aug 28 11:54:00 2002
> +++ packet-cpha.fix.c   Wed Aug 28 11:52:53 2002
> @@ -412,7 +412,7 @@
>    proto_tree_add_ether(tree, hf_ethernet_add, tvb, offset, 6,
> hdr.ethernet_add);
>    offset += 6;
> 
> -  proto_tree_add_boolean(tree, hdr.is_if_trusted, tvb, offset,
> sizeof(hdr.is_if_trusted), hdr.is_if_trusted);
> +  proto_tree_add_boolean(tree, hf_is_if_trusted, tvb, offset,
> sizeof(hdr.is_if_trusted), hdr.is_if_trusted);

Your mailer line-wrapped the patch, and I had to undo that to apply the
patch; patches appear to be more likely to be left unmolested by mailers
if sent as attachments.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@ethereal.com
http://www.ethereal.com/mailman/listinfo/ethereal-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic