Hopefully fix
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Aug 2011 23:10:50 +0000 (23:10 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Aug 2011 23:10:50 +0000 (23:10 +0000)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6256.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38694 f5534014-38df-0310-8fa8-9805f1628bb7

capture_sync.c

index 35d48332192a897bfd336bbbcf285460ae93f7da..8ef2ed148a53802bc72747320b02cad54333cce2 100644 (file)
@@ -1618,6 +1618,8 @@ sync_pipe_input_cb(gint source, gpointer user_data)
                we can't do much more than telling the child to stop
                (this is the "emergency brake" if user e.g. wants to switch files every second) */
             sync_pipe_stop(capture_opts);
+            capture_input_closed(capture_opts, NULL);
+            return FALSE;
         }
         break;
     case SP_PACKET_COUNT: