diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-04-06 18:35:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-04-07 02:23:58 +0000 |
commit | 2c1dcfed4f68fb5b37659fc8f85180504ae2f152 (patch) | |
tree | 93826d8b00b057e71089175f751a388aee292f8e /capchild | |
parent | 4c8a226c075732f83e77757ccaff31f32d92f9e8 (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 'capchild')
-rw-r--r-- | capchild/capture_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capchild/capture_session.h b/capchild/capture_session.h index 3f113f5720..65a7d48fa0 100644 --- a/capchild/capture_session.h +++ b/capchild/capture_session.h @@ -52,6 +52,7 @@ typedef struct _capture_session { guint32 count; /**< Total number of frames captured */ capture_options *capture_opts; /**< options for this capture */ capture_file *cf; /**< handle to cfile */ + struct wtap *wtap; /**< current wtap file */ struct _info_data *cap_data_info; /**< stats for this capture */ } capture_session; |