From 58ee0d5b692ae91a9dc54da9cc174cb15c27ec74 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 16 Jan 2004 19:35:32 +0000 Subject: [PATCH] Reset the tap listeners in "retap_packets()" before rerunning the taps. svn path=/trunk/; revision=9677 --- file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ -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);