diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-03 22:03:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-03 22:03:24 +0000 |
commit | b1f4093d1a9b94a5eab7d78e59c1ea27ab388234 (patch) | |
tree | 04392a3df5637d3f8de4eb62c3270de49013dc5f /pcap-util.c | |
parent | 98b2ecb30478f423a7d7157ff247003095a8a1bd (diff) | |
download | wireshark-b1f4093d1a9b94a5eab7d78e59c1ea27ab388234.tar.gz wireshark-b1f4093d1a9b94a5eab7d78e59c1ea27ab388234.tar.bz2 wireshark-b1f4093d1a9b94a5eab7d78e59c1ea27ab388234.zip |
Make the "go" member of the "loop_data" structure in Ethereal a
"gboolean", as it's a Boolean value, and move it to the beginning of the
structure in Tethereal, as it is in Ethereal.
From Graeme Hewson:
Check for "pcap_dispatch()" returning -1, meaning an error
occurred; if it does, stop capturing, and report the error.
If we get a signal in tethereal, stop the capture with a
"longjmp()", rather than by clearning the "go" flag;
"pcap_dispatch()", on many platforms, keeps reading rather than
returning a captured packet count of 0 if the system call to
read packets returns -1 with an errno of EINTR, so the
"pcap_dispatch()" won't be broken out of if the signal handler
returns.
Fix a typo in an error message.
svn path=/trunk/; revision=4471
Diffstat (limited to 'pcap-util.c')
0 files changed, 0 insertions, 0 deletions