path: root/packet-gvrp.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-gvrp.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-gvrp.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gvrp.c b/packet-gvrp.c
index 9c9b5a8ef4..4e4c0b11c6 100644
--- a/packet-gvrp.c
+++ b/packet-gvrp.c
@@ -2,7 +2,7 @@
* Routines for GVRP (GARP VLAN Registration Protocol) dissection
* Copyright 2000, Kevin Shi <techishi@ms22.hinet.net>
- * $Id: packet-gvrp.c,v 1.3 2000/12/02 08:56:40 guy Exp $
+ * $Id: packet-gvrp.c,v 1.4 2001/01/03 06:55:28 guy Exp $
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -337,7 +337,7 @@ proto_register_gvrp(void)
/* Register the protocol name and description for GVRP */
proto_gvrp = proto_register_protocol("GARP VLAN Registration Protocol",
- "gvrp");
+ "GVRP", "gvrp");
/* Required function calls to register the header fields and subtrees
* used by GVRP */