aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
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 /gtk
parent1ffa3cfa2b664a4920805cb40dd9fe85bf3ca1fe (diff)
downloadwireshark-5f0fc518c79f381ea86ee3746ef32e96eb606985.tar.gz
wireshark-5f0fc518c79f381ea86ee3746ef32e96eb606985.tar.bz2
wireshark-5f0fc518c79f381ea86ee3746ef32e96eb606985.zip
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 'gtk')
-rw-r--r--gtk/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/main.c b/gtk/main.c
index cc7c796c61..6145f3094d 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -1,6 +1,6 @@
/* main.c
*
- * $Id: main.c,v 1.113 2000/04/03 09:41:31 guy Exp $
+ * $Id: main.c,v 1.114 2000/04/04 06:46:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1071,7 +1071,6 @@ file_quit_cmd_cb (GtkWidget *widget, gpointer data)
/* call initialization routines at program startup time */
static void
ethereal_proto_init(void) {
- init_dissect_rpc();
proto_init();
dfilter_init();
#ifdef HAVE_PLUGINS