Ethereal-dev: Re: [Ethereal-dev] About AppleTalk (ddp) address format.

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 27 Jun 2002 14:26:23 -0700
On Thu, Jun 27, 2002 at 05:56:04PM +0000, didier wrote:
> what are the side effects if I add TP_DDP in epan/packet_info.h 
> port_type and use pinfo->srcport, pinfo->destport?

I suspect the main side-effect would be that the port number wouldn't
show up in the "Source" or "Destination" columns of the display, but
would show up in source port or destination port columns (if you add
support in the "col_set_port()" routine in "epan/column-utils.c" - which
you should do).

It sounds as if that would be a feature rather than a bug.

As part of this, you'd have to change "struct atalk_ddp_addr" not to
have a "port" member, and change "atalk_addr_to_str()" to leave out the
port number.