Ethereal-dev: [Ethereal-dev] [PATCH] Fields for PDU types in COTP packet-clnp.patch

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

Date: Thu, 1 Jul 2004 09:31:10 +0100
Please find attached a patch against the latest packet-clnp.c. If adds
fields for cotp.type.XX where XX is the TPDU type: CR, CC, AK, DT etc. This
allows easy filtering and searching.

The patch sets the field type for the TPDU type fields to FT_NONE. I notice,
however, that if I right click an instance of the field in the protocol tree
and choose "Apply as filter->Selected" or similar, the display filter string
is set to frame[19:1] == d2 (or whatever) instead of cotp.type.cc (or
whatever). Is this a "feature" of the GUI, or a bug, or am I misusing the
FT_NONE field type?

Matthew
 <<packet-clnp.patch>> 


Community Network Services Ltd..
204-207 Western Docks, Southampton, Hants. SO15 1DA
Switchboard : +44 (0)845 6589920 Fax : +44 (0)2380 799602
Help Desk : +44 (0)845 6589930
http://www.cnsonline.net/
Reg. no. 2084279 England
*************************************************************
All views or opinions expressed herein are solely 
those of the author and do not necessarily represent those  
of Community Network Services Ltd who do not accept 
liability for any action taken in reliance on the contents 
of this message (other than where the company has a legal 
or regulatory obligation to do so) or for the consequences 
of any computer viruses which may have been transmitted 
by this E-Mail
The E-Mail and any files transmitted  with it, are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. If you have received this message 
in error please notify the sender and delete the message 
immediately or alternatively email postmaster@xxxxxxxxxxxxx
***************************************************************

Attachment: packet-clnp.patch
Description: Binary data