aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2000-03-26 07:03:52 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2000-03-26 07:03:52 +0000
commite987dcca02acb6fd6e70ef4362866e9adbf72729 (patch)
treee8937ef6b74691eb8fd303f96f0bd75b4f48a3de
parent92646c4b3cf7394cdbb5ce6fb43c87d27e207f17 (diff)
Set the per frame data pointer to NULL when a new frame is read in.
svn path=/trunk/; revision=1749
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index b4143652d9..00ddc6d8df 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.171 2000/03/20 04:55:10 guy Exp $
+ * $Id: file.c,v 1.172 2000/03/26 07:03:52 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -665,6 +665,7 @@ wtap_dispatch_cb(u_char *user, const struct wtap_pkthdr *phdr, int offset,
fdata->next = NULL;
fdata->prev = NULL;
+ fdata->pfd = NULL;
fdata->pkt_len = phdr->len;
fdata->cap_len = phdr->caplen;
fdata->file_off = offset;