Ethereal-dev: Re: [Ethereal-dev] patch for packet-isakmp.c to fix decoding ikev2 payload

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 24 Sep 2005 17:57:24 +0200
On Sat, Sep 24, 2005 at 11:53:33AM +0900, Shoichi Sakane wrote:
> Hi, I fixed some bugs to decoding IKEv2 payloads.  the following things
> have been checked at the IPsec bake off in Toronto this week.
> 
> 	- fixed decoding IP address in TS payload
> 	- fixed decoding IPv6 address in ID payload
> 	- fixed decoding IKEv2 Delete payload
> 	- SPI printing
> 
> the attached file is the diff file from
> epan/dissectors/packet-isakmp.c of 0.10.12

Checked in. Also checked in a change to make it compile. If you tested these
changes I'm a bit astonished that the final diff was broken.

Just a wish: Can you make id_type and tstype into enums and use the symbolic
  names instead of using the numbers and writing the meaning into comments
  most of the time?

Thanks!

   Joerg