aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-04-18 22:05:56 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-04-18 22:05:56 +0000
commit7ee0db108058625bbea758f20373db0df32c2613 (patch)
tree253fc99732b4bb575935f068018ed6ab36e82d44 /capture.c
parent207fcef3131d7b4f6a5dcb4889e78870da21c6a1 (diff)
statusbar changes:
-show the current capture file size, if capturing in real time mode. -move the packet "Drops" count (if available) from file to packets statusbar part svn path=/trunk/; revision=14130
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/capture.c b/capture.c
index 4e21495edf..f9f6788af8 100644
--- a/capture.c
+++ b/capture.c
@@ -278,6 +278,7 @@ capture_input_new_packets(capture_options *capture_opts, int to_read)
file.
XXX - abort on a read error? */
+ cf_callback_invoke(cf_cb_live_capture_update_continue, capture_opts->cf);
main_window_update();
break;
@@ -308,10 +309,7 @@ capture_input_closed(capture_options *capture_opts)
}
if(capture_opts->real_time_mode) {
- /* first of all, update the file length field */
- cf_update_f_len(capture_opts->cf);
-
- /* we are not doing a capture any more */
+ /* first of all, we are not doing a capture any more */
cf_callback_invoke(cf_cb_live_capture_update_finished, capture_opts->cf);
/* Read what remains of the capture file, and finish the capture.