tcpdump mailing list archives
typo in break-loop patch for pcap-linux.c
From: Jesper Peterson <jesper () endace com>
Date: Wed, 05 Nov 2003 15:11:42 +1300
Shame on you Guy, you didn't compile your change under linux. Patch attached. Though keep up the good work you patching machine you.
-- Jesper Peterson, Senior Software Developer http://www.endace.com, +64 7 839 0540
Index: pcap-linux.c
===================================================================
RCS file: /tcpdump/master/libpcap/pcap-linux.c,v
retrieving revision 1.97
diff -u -r1.97 pcap-linux.c
--- pcap-linux.c 4 Nov 2003 07:05:34 -0000 1.97
+++ pcap-linux.c 5 Nov 2003 02:08:22 -0000
@@ -465,13 +465,13 @@
/*
* Has "pcap_breakloop()" been called?
*/
- if (p->break_loop) {
+ if (handle->break_loop) {
/*
* Yes - clear the flag that indicates that it
* has, and return -2 as an indication that we
* were told to break out of the loop.
*/
- p->break_loop = 0;
+ handle->break_loop = 0;
return -2;
}
fromlen = sizeof(from);
Current thread:
- typo in break-loop patch for pcap-linux.c Jesper Peterson (Nov 04)
- Re: typo in break-loop patch for pcap-linux.c Guy Harris (Nov 04)
