Ethereal-dev: Re: [Ethereal-dev] Dissecting a tunneled packet?

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

From: David Frascone <dave@xxxxxxxxxxxx>
Date: Fri, 26 Oct 2001 14:50:08 -0500
Perfect!  That's exactly what I wanted! 

On Fri, Oct 26, 2001 at 12:18:55PM -0700, Guy Harris wrote:
> 
> Which stuff?  The columns?
> 
> Save copies of the addresses pointed to by "pinfo", and call
> "col_set_writable(pinfo->fd, FALSE)" before calling the Mobile IP
> dissector.  That's the way ICMP, ICMPv6, and CLNP, for example, keep the
> call to dissect the failed-packet payload of packet delivery error
> messages from changing the columns.
> 
> See the ICMP dissector for an example.  (It's not as nice as it could
> be, as you have to save and restore all those addresses yourself, but
> it's better than nothing.)