diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-02-26 17:05:56 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-02-26 17:05:56 +0000 |
commit | 2acc654aba54712531d8185598afc25f1d2877f0 (patch) | |
tree | 3ef0f9f334c6faa981fe8b850f24016c107af1de /sys/dev/pci/if_mx.c | |
parent | 842ed679f15acf3904a23c6859a05c53e4ebb9cc (diff) |
compensate for the fact that the check for ownership of a unicast packet
has moved to ether_input()
Diffstat (limited to 'sys/dev/pci/if_mx.c')
-rw-r--r-- | sys/dev/pci/if_mx.c | 10 |
1 files changed, 1 insertions, 9 deletions
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)); |