mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 00:27:08 -04:00
Properly reprogram the hardware when IFF_ALLMULTI flag is set.
This commit is contained in:
parent
8b96678536
commit
a9b2cd0aa6
1 changed files with 3 additions and 0 deletions
|
|
@ -1427,6 +1427,9 @@ ste_ioctl(ifp, command, data)
|
|||
STE_CLRBIT1(sc, STE_RX_MODE,
|
||||
STE_RXMODE_PROMISC);
|
||||
}
|
||||
if (ifp->if_flags & IFF_RUNNING &&
|
||||
(ifp->if_flags ^ sc->ste_if_flags) & IFF_ALLMULTI)
|
||||
ste_setmulti(sc);
|
||||
if (!(ifp->if_flags & IFF_RUNNING)) {
|
||||
sc->ste_tx_thresh = STE_TXSTART_THRESH;
|
||||
ste_init(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue