aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-17 02:11:20 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-17 02:11:20 +0000
commit79308de61203f1cf9f42c1e5405c0db9141632df (patch)
tree2a3326dbd6d1ae3997862d603df7ab29c6332dde /tethereal.c
parent9fb669df430da818f8c429724d1ef1d5152e0974 (diff)
From Ronnie Sahlberg: don't have the tap code do a dissection, leave
that up to its callers, so only one dissection need be done when reading a capture file. svn path=/trunk/; revision=6442
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tethereal.c b/tethereal.c
index eb49f373b5..3d7e9fa3e4 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.160 2002/10/09 03:07:27 gerald Exp $
+ * $Id: tethereal.c,v 1.161 2002/10/17 02:11:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1675,9 +1675,9 @@ wtap_dispatch_cb_print(guchar *user, const struct wtap_pkthdr *phdr,
epan_dissect_prime_dfilter(edt, cf->rfcode);
}
- tap_queue_init(pseudo_header, buf, &fdata);
+ tap_queue_init(edt);
epan_dissect_run(edt, pseudo_header, buf, &fdata, verbose ? NULL : &cf->cinfo);
- tap_push_tapped_queue();
+ tap_push_tapped_queue(edt);
if (cf->rfcode) {
passed = dfilter_apply_edt(cf->rfcode, edt);