diff options
author | Gerald Combs <gerald@wireshark.org> | 2010-05-27 23:55:04 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2010-05-27 23:55:04 +0000 |
commit | 69d739246716fd744aab79ce6d65919bc6393df9 (patch) | |
tree | 6a241efcfa63bd67cec879e882876c93068b7e6f /capture.c | |
parent | ece0ada557432588b8dbe66c2c877e61fef9a78e (diff) |
Add cf_fake_continue_tail() which is called when real-time capture
updates are off and which sets the capture file state to a value that
won't cause an assertion when the user stops capturing. Fixes bug 4035.
svn path=/trunk/; revision=33005
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |