aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-usb-linux.c
diff options
context:
space:
mode:
authorguy <guy>2008-04-14 21:06:09 +0000
committerguy <guy>2008-04-14 21:06:09 +0000
commit30b39d84b781b26a23bfd3b0d37ee026e2c94873 (patch)
treea0d08881349ffa00717be414979483442c4b33b4 /pcap-usb-linux.c
parentf35ab115a60de968f27eb2ec95a8b85b58c22007 (diff)
Fix typoes (sigh, using both "p" and "handle" for the pcap_t pointer in
different modules can lead to confusion).
Diffstat (limited to 'pcap-usb-linux.c')
-rw-r--r--pcap-usb-linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c
index 98bc16c..f6dc705 100644
--- a/pcap-usb-linux.c
+++ b/pcap-usb-linux.c
@@ -34,7 +34,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-usb-linux.c,v 1.23 2008-04-14 20:40:58 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-usb-linux.c,v 1.24 2008-04-14 21:06:09 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -226,7 +226,7 @@ usb_activate(pcap_t* handle)
handle->fd = open(full_path, O_RDONLY, 0);
if (handle->fd >= 0)
{
- if (p->opt.rfmon) {
+ if (handle->opt.rfmon) {
/*
* Monitor mode doesn't apply to USB devices.
*/
@@ -266,7 +266,7 @@ usb_activate(pcap_t* handle)
handle->read_op = usb_read_linux;
}
- if (p->opt.rfmon) {
+ if (handle->opt.rfmon) {
/*
* Monitor mode doesn't apply to USB devices.
*/