aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-15 05:21:07 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-15 05:21:07 +0000
commit86576ce6ac55614848fea0b539899c07ba7999a2 (patch)
treef4b8267442ded365149398de908005bd7a117491 /plugins
parente0e71226743cabaed94a6bd090f033009e0023c9 (diff)
When registering a protocol, make sure there are no other protocols with
the same long name, short name, or filter name, and abort if there are. Fix the duplicate names that found (and another name error found while fixing one of those errors). svn path=/trunk/; revision=6425
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/packet-regrsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/docsis/packet-regrsp.c b/plugins/docsis/packet-regrsp.c
index e75e44466d..de4b0c13d3 100644
--- a/plugins/docsis/packet-regrsp.c
+++ b/plugins/docsis/packet-regrsp.c
@@ -2,7 +2,7 @@
* Routines for Registration Response Message dissection
* Copyright 2002, Anand V. Narwani <anarwani@cisco.com>
*
- * $Id: packet-regrsp.c,v 1.4 2002/09/10 19:07:39 guy Exp $
+ * $Id: packet-regrsp.c,v 1.5 2002/10/15 05:21:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -109,7 +109,7 @@ proto_register_docsis_regrsp (void)
/* Setup list of header fields See Section 1.6.1 for details*/
static hf_register_info hf[] = {
{&hf_docsis_regrsp,
- {"Registration Request", "docsis.regrsp",
+ {"Registration Response", "docsis.regrsp",
FT_BYTES, BASE_HEX, NULL, 0x0,
"Registration Request", HFILL}
},
@@ -132,7 +132,7 @@ proto_register_docsis_regrsp (void)
/* Register the protocol name and description */
proto_docsis_regrsp =
- proto_register_protocol ("DOCSIS Registration Requests", "DOCSIS REG-RSP",
+ proto_register_protocol ("DOCSIS Registration Responses", "DOCSIS REG-RSP",
"docsis_regrsp");
/* Required function calls to register the header fields and subtrees used */