path: root/packet-h261.c
diff options
authorGuy Harris <guy@alum.mit.edu>2001-01-03 06:56:03 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-03 06:56:03 +0000
commit0e7c1de08a9e6b453b47c60a698a24387d63719a (patch)
tree3d72ae6a3dba0301ae7eb98baf0c993eec9500d6 /packet-h261.c
parent6c75aa83f9559312b7a3d3bf5989ab6668dbd076 (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. svn path=/trunk/; revision=2810
Diffstat (limited to 'packet-h261.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-h261.c b/packet-h261.c
index 4d2eba4dbe..480f91ec5d 100644
--- a/packet-h261.c
+++ b/packet-h261.c
@@ -256,7 +256,8 @@ proto_register_h261(void)
- proto_h261 = proto_register_protocol("ITU-T Recommendation H.261", "h261");
+ proto_h261 = proto_register_protocol("ITU-T Recommendation H.261",
+ "H.261", "h261");
proto_register_field_array(proto_h261, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));