Fix typo. It restuled in activating unwanted Rx filtering as well
as resetting Rx threshold configuration. Submitted by: Joost Mulders < Joost.Mulders <> Sun DOT COM >
This commit is contained in:
parent
ae670dad61
commit
30dda99b96
@ -465,7 +465,8 @@ vr_set_filter(struct vr_softc *sc)
|
||||
|
||||
ifp = sc->vr_ifp;
|
||||
rxfilt = CSR_READ_1(sc, VR_RXCFG);
|
||||
rxfilt = ~(VR_RXCFG_RX_PROMISC | VR_RXCFG_RX_BROAD | VR_RXCFG_RX_MULTI);
|
||||
rxfilt &= ~(VR_RXCFG_RX_PROMISC | VR_RXCFG_RX_BROAD |
|
||||
VR_RXCFG_RX_MULTI);
|
||||
if (ifp->if_flags & IFF_BROADCAST)
|
||||
rxfilt |= VR_RXCFG_RX_BROAD;
|
||||
if (ifp->if_flags & IFF_ALLMULTI || ifp->if_flags & IFF_PROMISC) {
|
||||
|
Loading…
Reference in New Issue
Block a user