aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-05 18:52:42 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-05 18:52:42 +0000
commit71ed773862716ff3a4def1884fa1d7f427f1ea47 (patch)
treea64d5aa615db95e124d5d0a94c12c70e9d82997a /file.c
parentdec2d034b0d4465e3c43f3a05350d9ceff06a5c1 (diff)
Add a capture_file * element to packet_range_t and pass it explicitly in
packet_range_init(). Get rid of global cfile references in packet-range.c. C++-ize packet-range.h. Shuffle some includes around. svn path=/trunk/; revision=45333
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 52083fb23a..c63e5c035c 100644
--- a/file.c
+++ b/file.c
@@ -2327,7 +2327,7 @@ cf_retap_packets(capture_file *cf)
/* Iterate through the list of packets, dissecting all packets and
re-running the taps. */
- packet_range_init(&range);
+ packet_range_init(&range, cf);
packet_range_process_init(&range);
switch (process_specified_packets(cf, &range, "Recalculating statistics on",
"all packets", TRUE, retap_packet,