aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index ce209ba466..fdbd4073e4 100644
--- a/file.c
+++ b/file.c
@@ -1651,6 +1651,8 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item, gb
cf->prev_cap = NULL;
cf->cum_bytes = 0;
+ cf_callback_invoke(cf_cb_file_rescan_started, cf);
+
/* Update the progress bar when it gets to this value. */
progbar_nextstep = 0;
/* When we reach the value that triggers a progress bar update,
@@ -1816,6 +1818,8 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item, gb
packet_list_thaw();
+ cf_callback_invoke(cf_cb_file_rescan_finished, cf);
+
if (selected_frame_num == -1) {
/* The selected frame didn't pass the filter. */
if (selected_frame == NULL) {