Ethereal-dev: Re: [Ethereal-dev] Support for payload protocol identifier

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 12 Jan 2001 20:31:57 -0800
On Fri, Jan 12, 2001 at 08:56:50PM +0100, Michael Tüxen wrote:
> Dear all,
> please find attached patches to support the payload protocol identifier
> field of
> SCTP data chunks in a way similiar to port numbers.

Checked in, but...

> Please not that 
> dissector_try_proto_id does NOT set the match_port field.

...with a change to make "{old_}dissector_try_port()" save and restore
"pinfo->match_port", so that when it calls the subdissector
"pinfo->match_port" is set to the port that matched, but when it returns
it's back to the value it had, rather than a new routine that doesn't
modify "pinfo->match_port".