aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-06-25 22:24:26 +0000
committerGerald Combs <gerald@wireshark.org>2010-06-25 22:24:26 +0000
commit0b9c5b9248296a6abc4da8be561c8d50c95a7c75 (patch)
tree0d1da1b5be5549a5795468f1a7bf070ce997972b /tshark.c
parent96558700c1b3128ce1540f598946fe7112c7954c (diff)
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
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 1e1314f277..a0c8f4f71e 100644
--- a/tshark.c
+++ b/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) {