Don't freeze/thaw the list when stoping a live capture.
authorAnders Broman <anders.broman@ericsson.com>
Mon, 1 Feb 2010 14:55:47 +0000 (14:55 -0000)
committerAnders Broman <anders.broman@ericsson.com>
Mon, 1 Feb 2010 14:55:47 +0000 (14:55 -0000)
svn path=/trunk/; revision=31754

file.c

diff --git a/file.c b/file.c
index b8c46a7bb108d56483eb5d78934c9c0b92a41506..a463c8750896151024ba7f3525af9f09c9e4092d 100644 (file)
--- a/file.c
+++ b/file.c
@@ -933,7 +933,8 @@ cf_finish_tail(capture_file *cf, int *err)
 
 #ifdef NEW_PACKET_LIST
   new_packet_list_check_end();
-  new_packet_list_freeze();
+  /* Don't freeze/thaw the list when doing live capture */ 
+  /*new_packet_list_freeze();*/
 #else
   packet_list_check_end();
   packet_list_freeze();
@@ -955,7 +956,8 @@ cf_finish_tail(capture_file *cf, int *err)
   }
 
 #ifdef NEW_PACKET_LIST
-  new_packet_list_thaw();
+  /* Don't freeze/thaw the list when doing live capture */ 
+  /*new_packet_list_thaw();*/
 #else
   packet_list_thaw();
 #endif