summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tethereal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index 0018c8e269..73f06901bc 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.15 2000/01/24 05:13:45 guy Exp $
+ * $Id: tethereal.c,v 1.16 2000/01/26 05:30:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -458,6 +458,12 @@ capture(int packet_count, int out_file_type)
int err, inpkts;
char errmsg[1024+1];
+ /* Initialize the table of conversations. */
+ conversation_init();
+
+ /* Initialize protocol-specific variables */
+ init_all_protocols();
+
ld.linktype = WTAP_ENCAP_UNKNOWN;
ld.pdh = NULL;