aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-04-06 18:35:00 -0700
committerGuy Harris <guy@alum.mit.edu>2019-04-07 02:23:58 +0000
commit2c1dcfed4f68fb5b37659fc8f85180504ae2f152 (patch)
tree93826d8b00b057e71089175f751a388aee292f8e /capture_info.h
parent4c8a226c075732f83e77757ccaff31f32d92f9e8 (diff)
The wtap from which we're reading to get statistics isn't a statistic itself.
Move it to the capture_session structure from the info_data_t structure, and pass it as an argument to capture_info_new_packets(). Change-Id: I822392bbf48eeb27ba9e17b73775d2fc4349bc17 Reviewed-on: https://code.wireshark.org/review/32765 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_info.h')
-rw-r--r--capture_info.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture_info.h b/capture_info.h
index 09ab8f4d61..d1d998c5d4 100644
--- a/capture_info.h
+++ b/capture_info.h
@@ -38,12 +38,11 @@ typedef struct _capture_info {
typedef struct _info_data {
packet_counts counts; /* Packet counting */
- struct wtap* wtap; /* current wtap file */
capture_info ui; /* user interface data */
} info_data_t;
/* new packets arrived - read from wtap, count */
-extern void capture_info_new_packets(int to_read, info_data_t* cap_info);
+extern void capture_info_new_packets(int to_read, wtap *wtap, info_data_t* cap_info);
/** Create the capture info dialog */
extern void