From 7238fff0220acb33eca493711a36b02aa9583d15 Mon Sep 17 00:00:00 2001 From: yongari Date: Wed, 2 Jul 2008 06:34:02 +0000 Subject: Toggling IFF_ALLMULTI flag does not require full interface reintialization. --- sys/dev/re/if_re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/re/if_re.c') 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); -- cgit v1.1