aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/an
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-05-14 02:18:43 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-05-14 02:18:43 +0000
commit2e2de7f23f09ed445e6d2503174e890cc64b9a7c (patch)
tree3bb6d87c220b15e365d011925cab4b92d4ba1bb9 /sys/dev/an
parente3227bc7a68281f480934b30853e25233d70f57d (diff)
Notes
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index dc63b938f332..34a5263bda74 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -455,25 +455,12 @@ static void an_rxeof(sc)
ifp->if_ipackets++;
- /* Handle BPF listeners. */
- if (ifp->if_bpf) {
- bpf_mtap(ifp, m);
- if (ifp->if_flags & IFF_PROMISC &&
- (bcmp(eh->ether_dhost, sc->arpcom.ac_enaddr,
- ETHER_ADDR_LEN) && (eh->ether_dhost[0] & 1) == 0)) {
- m_freem(m);
- return;
- }
- }
-
/* Receive packet. */
m_adj(m, sizeof(struct ether_header));
#ifdef ANCACHE
an_cache_store(sc, eh, m, rx_frame.an_rx_signal_strength);
#endif
ether_input(ifp, eh, m);
-
- return;
}
static void an_txeof(sc, status)