aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-16 19:35:32 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-16 19:35:32 +0000
commit58ee0d5b692ae91a9dc54da9cc174cb15c27ec74 (patch)
treed4031622b7964d5cd24af1d81fa53a6b55dafab1
parent04ac43b255f46a6280326a1753060af98cbbbccf (diff)
downloadwireshark-58ee0d5b692ae91a9dc54da9cc174cb15c27ec74.tar.gz
wireshark-58ee0d5b692ae91a9dc54da9cc174cb15c27ec74.tar.bz2
wireshark-58ee0d5b692ae91a9dc54da9cc174cb15c27ec74.zip
Reset the tap listeners in "retap_packets()" before rerunning the taps.
svn path=/trunk/; revision=9677
-rw-r--r--file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/file.c b/file.c
index a9a04c7993..65f3736a0d 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.341 2004/01/13 22:33:26 guy Exp $
+ * $Id: file.c,v 1.342 2004/01/16 19:35:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1400,6 +1400,9 @@ retap_packets(capture_file *cf)
{
packet_range_t range;
+ /* Reset the tap listeners. */
+ reset_tap_listeners();
+
/* Iterate through the list of packets, dissecting all packets and
re-running the taps. */
packet_range_init(&range);