diff options
author | guy <guy> | 2003-11-05 04:25:24 +0000 |
---|---|---|
committer | guy <guy> | 2003-11-05 04:25:24 +0000 |
commit | 4a0eb920224369ec31295b1d37cc2db2e7fc4ce1 (patch) | |
tree | e921aa896c51598d1b770941e1aff37d8da8f20a | |
parent | 849c3c660e3dc47d558ffd9063a6eed9244d5dad (diff) |
From Jesper Peterson: fix a cut-and-pasteo (the Linux libpcap code callslibpcap_0_8_bp
its pcap_t pointer "handle", not "p", unlike most other libpcap code).
-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 6120b67..520ddac 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); |