diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-03 06:56:03 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-03 06:56:03 +0000 |
commit | a45a8ee1ee114753b92ed43c9d44a6f33c68c8c4 (patch) | |
tree | 3d72ae6a3dba0301ae7eb98baf0c993eec9500d6 /packet-tr.c | |
parent | 0bf267fb9b92b8b400cc3ef3233e6dca04a4e184 (diff) |
Have "proto_register_protocol()" build a list of data structures for
protocols, in addition to adding structures to the list of filterable
fields. Give it an extra argument that specifies a "short name" for the
protocol, for use in such places as
pinfo->current_proto;
the dialog box for constructing filters;
the preferences tab for the protocol;
and so on (although we're not yet using it in all those places).
Make the preference name that appears in the preferences file and the
command line for the DIAMETER protocol "diameter", not "Diameter"; the
convention is that the name in question be all-lower-case.
Make some routines and variables that aren't exported static.
Update a comment in the ICP dissector to make it clear that the
dissector won't see fragments other than the first fragment of a
fragmented datagram.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2810 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tr.c')
-rw-r--r-- | packet-tr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tr.c b/packet-tr.c index 3e383303dd..64ae7ed87c 100644 --- a/packet-tr.c +++ b/packet-tr.c @@ -2,7 +2,7 @@ * Routines for Token-Ring packet disassembly * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-tr.c,v 1.52 2000/11/29 05:16:15 gram Exp $ + * $Id: packet-tr.c,v 1.53 2001/01/03 06:55:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -666,7 +666,7 @@ proto_register_tr(void) &ett_token_ring_fc, }; - proto_tr = proto_register_protocol("Token-Ring", "tr"); + proto_tr = proto_register_protocol("Token-Ring", "Token-Ring", "tr"); proto_register_field_array(proto_tr, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } |