summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/be.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sbus/be.c')
-rw-r--r--sys/dev/sbus/be.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c
index 62e8cd94f55..f37d1d09550 100644
--- a/sys/dev/sbus/be.c
+++ b/sys/dev/sbus/be.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: be.c,v 1.15 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: be.c,v 1.16 2005/01/15 05:24:12 brad Exp $ */
/* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */
/*-
@@ -1026,7 +1026,8 @@ beioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- be_mcreset(sc);
+ if (ifp->if_flags & IFF_RUNNING)
+ be_mcreset(sc);
error = 0;
}
break;