summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/if_ie.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/if_ie.c')
-rw-r--r--sys/arch/sparc/dev/if_ie.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index f42747a0f6e..c6e15657f30 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.28 2004/09/29 07:35:11 miod Exp $ */
+/* $OpenBSD: if_ie.c,v 1.29 2005/01/15 05:24:10 brad Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -2038,7 +2038,8 @@ ieioctl(ifp, cmd, data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- mc_reset(sc);
+ if (ifp->if_flags & IFF_RUNNING)
+ mc_reset(sc);
error = 0;
}
break;