Wireshark-bugs: [Wireshark-bugs] [Bug 6002] Cannot Live-capture VirtualBox network packets with
Date: Tue, 7 Jun 2011 13:36:21 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6002

Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6480|                            |review_for_checkin?
               Flag|                            |

--- Comment #8 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> 2011-06-07 13:36:21 PDT ---
Created an attachment (id=6480)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6480)
Don't set state to STATE_EXPECT_DATA if there's no data to read

Problem is that read(..., 0) returns 0 :)

Which is handled in STATE_READ_DATA as EOF.
Attaching patch, Can you test it?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.