Ethereal-dev: Re: [Ethereal-dev] Patch : OLSR decoding with unknown message types

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: Fri, 07 Jan 2005 11:42:40 -0800
Yann . wrote:

Hello Gerald,
Hello list,

Gerald is, as far as I know, on the list, so I don't think you need to CC him on mail you send to the list.

As I'm developping an extension to olsrd, I noticed that the current Ethereal OLSR decoding does not handle properly messages with a custom message type. The first OLSR message in the packet with an unknown message type is considered to have no payload and the remaining data is decoded like if it were a new message header. The decoding of the rest of the packet is then totally wrong.

Here is a patch that modifies 'epan/dissectors/packet-olsr.c' to fix this issue.

Unfortunately, "patch" doesn't accept the patch - it was reformatted by your mail software, so I had to un-word-wrap many lines, and "patch" still didn't accept it after I did that.

You're using Hotmail - Ronnie, what was the secret to getting Hotmail not to mangle patches?