summaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 11cf8777..ad8eb7d7 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -765,7 +765,7 @@ add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state,
/*
* Get rid of the monitor device.
*/
- del_mon_if(handle, sock_fd, state, device, handlep->mondevice);
+ del_mon_if(handle, sock_fd, state, device, mondevice);
return PCAP_ERROR;
}
return 1;