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-llc.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-llc.c')
-rw-r--r-- | packet-llc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-llc.c b/packet-llc.c index 5e0ed63b04..54a1829f87 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-llc.c,v 1.73 2000/12/28 09:49:09 guy Exp $ + * $Id: packet-llc.c,v 1.74 2001/01/03 06:55:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -382,7 +382,7 @@ dissect_llc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case OUI_CABLE_BPDU: /* DOCSIS cable modem spanning tree BPDU */ if (tree) { proto_tree_add_uint(llc_tree, - hf_llc_pid, tvb, 6, 2, etype); + hf_llc_pid, tvb, 6, 2, etype); } call_dissector(bpdu_handle, next_tvb, pinfo, tree); break; @@ -468,7 +468,7 @@ proto_register_llc(void) &ett_llc_ctrl, }; - proto_llc = proto_register_protocol ("Logical-Link Control", "llc" ); + proto_llc = proto_register_protocol("Logical-Link Control", "LLC", "llc"); proto_register_field_array(proto_llc, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |