summaryrefslogtreecommitdiffstats
path: root/sys/dev/re/if_re.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-07-02 06:34:02 +0000
committeryongari <yongari@FreeBSD.org>2008-07-02 06:34:02 +0000
commit7238fff0220acb33eca493711a36b02aa9583d15 (patch)
tree9b8e998c9390cd4a2742454851df166896e6b078 /sys/dev/re/if_re.c
parent84387bd2a3e0614e65b8d99cc4c5752334b4717d (diff)
downloadFreeBSD-src-7238fff0220acb33eca493711a36b02aa9583d15.zip
FreeBSD-src-7238fff0220acb33eca493711a36b02aa9583d15.tar.gz
Toggling IFF_ALLMULTI flag does not require full interface
reintialization.
Diffstat (limited to 'sys/dev/re/if_re.c')
-rw-r--r--sys/dev/re/if_re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index e5b5ef5..f55d3d9 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -2646,7 +2646,7 @@ re_ioctl(ifp, command, data)
if ((ifp->if_flags & IFF_UP) != 0) {
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) {
if (((ifp->if_flags ^ sc->rl_if_flags)
- & IFF_PROMISC) != 0)
+ & (IFF_PROMISC | IFF_ALLMULTI)) != 0)
re_setmulti(sc);
} else
re_init_locked(sc);
OpenPOWER on IntegriCloud