aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q2931.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-03 06:56:03 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-03 06:56:03 +0000
commita45a8ee1ee114753b92ed43c9d44a6f33c68c8c4 (patch)
tree3d72ae6a3dba0301ae7eb98baf0c993eec9500d6 /packet-q2931.c
parent0bf267fb9b92b8b400cc3ef3233e6dca04a4e184 (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-q2931.c')
-rw-r--r--packet-q2931.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-q2931.c b/packet-q2931.c
index 41fb70762e..50566fe3aa 100644
--- a/packet-q2931.c
+++ b/packet-q2931.c
@@ -2,7 +2,7 @@
* Routines for Q.2931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q2931.c,v 1.13 2000/11/19 08:54:03 guy Exp $
+ * $Id: packet-q2931.c,v 1.14 2001/01/03 06:55:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -2128,7 +2128,7 @@ proto_register_q2931(void)
&ett_q2931_nsap,
};
- proto_q2931 = proto_register_protocol ("Q.2931", "q2931");
+ proto_q2931 = proto_register_protocol("Q.2931", "Q.2931", "q2931");
proto_register_field_array (proto_q2931, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}