aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/arl
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-12-29 13:59:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-12-29 13:59:50 +0000
commit0dea849ae93133a4a02f0d5fd58340d3df92668b (patch)
tree5677cbe8565b075c609dc8ea0a6087d8251a7bca /sys/dev/arl
parent240589a9fec34f1cd809cc429f2c56147a0383bd (diff)
Notes
Diffstat (limited to 'sys/dev/arl')
-rw-r--r--sys/dev/arl/if_arl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/arl/if_arl.c b/sys/dev/arl/if_arl.c
index 62d9afae4b2b..8be9bdab67eb 100644
--- a/sys/dev/arl/if_arl.c
+++ b/sys/dev/arl/if_arl.c
@@ -980,7 +980,7 @@ arl_read(sc, buf, len)
* Check if there's a bpf filter listening on this interface.
* If so, hand off the raw packet to bpf.
*/
- if (ifp->if_bpf) {
+ if (bpf_peers_present(ifp->if_bpf)) {
/*
* Note that the interface cannot be in promiscuous mode if
* there are no bpf listeners. And if el are in promiscuous