forked from osmocom/wireshark
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:
parent
96558700c1
commit
0b9c5b9248
1
tshark.c
1
tshark.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue