mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
MFC r207748:
It seems controller has two types of promiscuous control, one for unicast and the other for multicast. To receive multicast frames that host didn't join in promiscuous mode, driver have to set promiscuous mode for multicast frames as well. The Open Source Software Developer Manual for i8255x was not clear how to handle promiscuous mode. PR: kern/145905
This commit is contained in:
parent
6a7674ccb2
commit
f1702973fc
1 changed files with 1 additions and 1 deletions
|
|
@ -2345,7 +2345,7 @@ fxp_init_body(struct fxp_softc *sc)
|
|||
cbp->force_fdx = 0; /* (don't) force full duplex */
|
||||
cbp->fdx_pin_en = 1; /* (enable) FDX# pin */
|
||||
cbp->multi_ia = 0; /* (don't) accept multiple IAs */
|
||||
cbp->mc_all = ifp->if_flags & IFF_ALLMULTI ? 1 : 0;
|
||||
cbp->mc_all = ifp->if_flags & IFF_ALLMULTI ? 1 : prm;
|
||||
cbp->gamla_rx = sc->flags & FXP_FLAG_EXT_RFA ? 1 : 0;
|
||||
cbp->vlan_strip_en = ((sc->flags & FXP_FLAG_EXT_RFA) != 0 &&
|
||||
(ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue