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: "Yann ." <yann_eads@xxxxxxxxxxx>
Date: Mon, 10 Jan 2005 10:52:54 +0100
Maybe this gzipped patch will do the trick.



-----Message d'origine-----
De : Guy Harris [mailto:gharris@xxxxxxxxx]
Envoy� : vendredi 7 janvier 2005 20:43
� : Ethereal development
Objet : Re: [Ethereal-dev] Patch : OLSR decoding with unknown message
types


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?

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

_________________________________________________________________
MSN Messenger : dialoguez en temps r�el avec vos amis ! http://g.msn.fr/FR1001/866

Attachment: olsr-unknown_message_types.patch.gz
Description: application/gzip-compressed