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-sap.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-sap.c')
-rw-r--r-- | packet-sap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-sap.c b/packet-sap.c index a10ba06342..3125ddd8be 100644 --- a/packet-sap.c +++ b/packet-sap.c @@ -4,7 +4,7 @@ * * Heikki Vatiainen <hessu@cs.tut.fi> * - * $Id: packet-sap.c,v 1.16 2000/11/19 21:01:06 guy Exp $ + * $Id: packet-sap.c,v 1.17 2001/01/03 06:55:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -357,7 +357,8 @@ void proto_register_sap(void) &ett_sap_authf, }; - proto_sap = proto_register_protocol("Session Announcement Protocol", "sap"); + proto_sap = proto_register_protocol("Session Announcement Protocol", "SAP", + "sap"); proto_register_field_array(proto_sap, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } |