aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-11-21 00:45:38 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-11-21 00:45:38 +0000
commit0fb45e0bf15c59b77b9f44eff01aa545520601bf (patch)
tree7022695dcd80968fd86eed36b6964f6236a08f72 /file.c
parent45b7a4ded8cbd325e8b4d26f0de065e248c54e8e (diff)
while loading a huge capture file, enable the main window to show packets rushing into the packet list
svn path=/trunk/; revision=19943
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/file.c b/file.c
index 2057462be8..98bb0590b5 100644
--- a/file.c
+++ b/file.c
@@ -438,6 +438,12 @@ cf_read(capture_file *cf)
progbar_val = 1.0;
}
if (progbar != NULL) {
+ /* update the packet lists content */
+ packet_list_thaw();
+ if (auto_scroll_live && cf->plist_end != NULL)
+ packet_list_moveto_end();
+ packet_list_freeze();
+
g_snprintf(status_str, sizeof(status_str),
"%" PRId64 "KB of %" PRId64 "KB",
file_pos / 1024, size / 1024);