From 2acc654aba54712531d8185598afc25f1d2877f0 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Fri, 26 Feb 1999 17:05:56 +0000 Subject: compensate for the fact that the check for ownership of a unicast packet has moved to ether_input() --- sys/dev/pci/if_mx.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sys/dev/pci/if_mx.c') diff --git a/sys/dev/pci/if_mx.c b/sys/dev/pci/if_mx.c index 3b2b0213652..282ed33f5c2 100644 --- a/sys/dev/pci/if_mx.c +++ b/sys/dev/pci/if_mx.c @@ -1386,16 +1386,8 @@ static void mx_rxeof(sc) * a broadcast packet, multicast packet, matches our ethernet * address or the interface is in promiscuous mode. */ - if (ifp->if_bpf) { + if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, 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); - continue; - } - } #endif /* Remove header from mbuf and pass it on. */ m_adj(m, sizeof(struct ether_header)); -- cgit v1.2.3