Fix the -S option timeout handling:
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Aug 1999 11:08:38 +0000 (11:08 +0000)
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Aug 1999 11:08:38 +0000 (11:08 +0000)
commit8220d6a943f94fe1ba0f4e05580a17c9866152c6
treed255430b0f479908923592fb60afe6fc3b1243de
parent7635ce70012e0cb9fcd119a093930c7f2327b795
Fix the -S option timeout handling:
- when in a live capture mode no packet is received
during a timeout, the displayer process is notified
about any remaining captured packets. Note that this
fix works on Linux only with a patched libpcap.
- remove unnecessary time() call and sync_time
loop_data field.

Thanks to John McDermott for his help during fixing
and testing.

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