aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-02-19 05:28:38 +0000
committerGuy Harris <guy@alum.mit.edu>1999-02-19 05:28:38 +0000
commitbabd7de5977d07f57bfafda4e14954673303c5f0 (patch)
treecf9993c33ee9d54a18c666c28954b4e800eb92bf /ethereal.c
parent38a04d266041d513504124245ab1c344ca89bfbd (diff)
Added Richard Sharpe's TFTP support. (I missed this in my initial
checkin of that stuff.) svn path=/trunk/; revision=191
Diffstat (limited to 'ethereal.c')
-rw-r--r--ethereal.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/ethereal.c b/ethereal.c
index 02a81d830b..26e8732e56 100644
--- a/ethereal.c
+++ b/ethereal.c
@@ -1,11 +1,13 @@
/* ethereal.c
*
- * $Id: ethereal.c,v 1.22 1999/02/11 06:17:29 guy Exp $
+ * $Id: ethereal.c,v 1.23 1999/02/19 05:28:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
* Copyright 1998 Gerald Combs
*
+ * Richard Sharpe, 13-Feb-1999, added support for initializing structures
+ * needed by dissect routines
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -386,6 +388,13 @@ main_realize_cb(GtkWidget *w, gpointer data) {
}
}
+static void
+ethereal_proto_init(void) {
+
+ init_dissect_udp();
+
+}
+
void
print_usage(void) {
@@ -721,6 +730,12 @@ main(int argc, char *argv[])
gtk_box_pack_start(GTK_BOX(stat_hbox), info_bar, TRUE, TRUE, 0);
gtk_widget_show(info_bar);
+/*
+ Hmmm should we do it here
+*/
+
+ ethereal_proto_init(); /* Init anything that needs initializing */
+
gtk_widget_show(window);
gtk_main();