aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-04 06:46:41 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-04 06:46:41 +0000
commit5f0fc518c79f381ea86ee3746ef32e96eb606985 (patch)
treebcd5cfc4f33cd2b576b0a56c69f86040e935194c /tethereal.c
parent1ffa3cfa2b664a4920805cb40dd9fe85bf3ca1fe (diff)
Use the new split between protocol registration and protocol handoff
registration routines to get rid of the special handling of ONC RPC protocols - dissectors for ONC RPC-based protocols should register their protocol, fields, and ETT values in a protocol registration routine, and register themselves with the ONC RPC dissector in their protocol handoff routine, so that the latter is done after the ONC RPC dissector's protocol registration routine is called, so that the data structures needed when dissectors for ONC RPC protocols register themselves with the ONC RPC dissector have been initialized. Get rid of "init_dissect_rpc()", which initializes said data structures; do that in "proto_register_rpc()" instead. svn path=/trunk/; revision=1789
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c
index bc21f11f75..ad145097bd 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.22 2000/04/03 09:41:14 guy Exp $
+ * $Id: tethereal.c,v 1.23 2000/04/04 06:46:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -125,7 +125,6 @@ ts_type timestamp_type = RELATIVE;
/* call initialization routines at program startup time */
static void
ethereal_proto_init(void) {
- init_dissect_rpc();
proto_init();
dfilter_init();
#ifdef HAVE_PLUGINS