r32715 fixed bug 4708 (zlib-1.2.5 cause wireshark to stop live capture)

for Wireshark but not TShark. Apply the fix to TShark as well. Fixes bug
4916.

svn path=/trunk/; revision=33327
This commit is contained in:
Gerald Combs 2010-06-25 22:24:26 +00:00
parent 96558700c1
commit 0b9c5b9248
1 changed files with 1 additions and 0 deletions

View File

@ -2161,6 +2161,7 @@ capture_input_new_packets(capture_options *capture_opts, int to_read)
tap_flags = union_of_tap_listener_flags();
if(do_dissection) {
wtap_cleareof(cf->wth);
while (to_read-- && cf->wth) {
ret = wtap_read(cf->wth, &err, &err_info, &data_offset);
if(ret == FALSE) {