aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bxxp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-03 07:53:48 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-03 07:53:48 +0000
commit3613c121fe53a2bcd70a3004a589bc38ecc2864d (patch)
tree8b8fd854a5439a0fff7bcda55cebf9e519245b3c /packet-bxxp.c
parentfee98dd94462787123ec7fa0d660044a4b1800c4 (diff)
Add a new "prefs_register_protocol()" routine, which is like
"prefs_register_module()" except that it takes a protocol index as returned by "proto_register_protocol()" as its first argument, rather than taking two character strings as arguments as its first two arguments, and uses the protocol's abbreviation as the name to use for preferences in the preferences file and the "-o" flag and uses the protocol's short name as the name to use in the tabs in the "Edit->Preferences" window. svn path=/trunk/; revision=2812
Diffstat (limited to 'packet-bxxp.c')
-rw-r--r--packet-bxxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-bxxp.c b/packet-bxxp.c
index 73cd680d8b..37e22f4cd6 100644
--- a/packet-bxxp.c
+++ b/packet-bxxp.c
@@ -1,7 +1,7 @@
/* packet-bxxp.c
* Routines for BXXP packet disassembly
*
- * $Id: packet-bxxp.c,v 1.13 2001/01/03 06:55:27 guy Exp $
+ * $Id: packet-bxxp.c,v 1.14 2001/01/03 07:53:43 guy Exp $
*
* Copyright (c) 2000 by Richard Sharpe <rsharpe@ns.aus.com>
*
@@ -1222,7 +1222,7 @@ proto_register_bxxp(void)
/* Register our configuration options for BXXP, particularly our port */
- bxxp_module = prefs_register_module("bxxp", "BXXP", proto_reg_handoff_bxxp);
+ bxxp_module = prefs_register_protocol(proto_bxxp, proto_reg_handoff_bxxp);
prefs_register_uint_preference(bxxp_module, "tcp.port", "BXXP TCP Port",
"Set the port for BXXP messages (if other"