http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=992
------- Comment #1 from thermal@xxxxx 2007-02-04 17:41 GMT -------
Similar problem exists when I start tshark with -a duration:10 listening on an
interface with no cable connected. It seems, that the timeout is checked each
time a packet is recieved which is not good if there are no packets on the
wire. Strace says that it waits forever for recvfrom:
write(2, "Capturing on eth0\n", 18Capturing on eth0
) = 18
time(NULL) = 1170610326
recvfrom(4,
I think recvfrom() should be called within a select() loop with a timeout
defined. You could then check if the timeout elapsed each 0.5 sec or so.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.