summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-28 07:39:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-28 07:39:54 +0000
commit315cb63b2362729b97ed74f769b988b9ee094c31 (patch)
tree7573bbba9ee5b9276f051ffd0aa3952fdf59f4aa
parentd31366719cdfbf224494f0065cfbcb1653b8831d (diff)
do not zap media flag on SIOCSIFFLAGS; ibo@ragnarok.val-axs.net & ms@xy.org
-rw-r--r--sys/dev/ic/elink3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index d3677641573..40e4410296b 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.24 1998/04/04 08:09:23 deraadt Exp $ */
+/* $OpenBSD: elink3.c,v 1.25 1998/04/28 07:39:53 deraadt Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -1335,7 +1335,7 @@ epioctl(ifp, cmd, data)
* IFF_LINK0, IFF_LINK1.
*/
epsetfilter(sc);
- epsetmedia(sc, 0); /* XXX */
+ epsetmedia(sc, sc->sc_media); /* XXX */
}
break;