diff options
-rw-r--r-- | pcap-linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index 6120b67b..520ddacb 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -27,7 +27,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.97 2003-11-04 07:05:34 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.98 2003-11-05 04:25:24 guy Exp $ (LBL)"; #endif /* @@ -465,13 +465,13 @@ pcap_read_packet(pcap_t *handle, pcap_handler callback, u_char *userdata) /* * 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); |