Add cf_fake_continue_tail() which is called when real-time capture
[obnox/wireshark/wip.git] / capture.c
index 5e808f95ebef95295b62919efc8b7b682fd74575..2a7a261273a77d8dac05d9aa6aa5c18da2ef18ba 100644 (file)
--- a/capture.c
+++ b/capture.c
@@ -399,6 +399,7 @@ capture_input_new_packets(capture_options *capture_opts, int to_read)
     /* increase the capture file packet counter by the number of incoming packets */
     cf_set_packet_count(capture_opts->cf,
         cf_get_packet_count(capture_opts->cf) + to_read);
+    cf_fake_continue_tail(capture_opts->cf);
 
     capture_callback_invoke(capture_cb_capture_fixed_continue, capture_opts);
   }