Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-cvs] rev 13118: /trunk/epan/dissectors/: packet

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

Date: Wed, 19 Jan 2005 10:23:18 +0100
Oops, that doesn't work actually. When you try heuristic dissectors, the protocol name is added only when the dissector matches the packet. But if a /wrong/ heuristic dissector calls call_dissector_work() or a successful heuristic dissector, this subcall will make a wrong protocol to be added to the string. I don't see any simple fix :( Or maybe saving the current protocol string before calling heuristic dissectors, malloc'ing a new one, and finally appending only the right one. I'll try this.

--
Julien Leproust