summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2000-06-20 20:35:15 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2000-06-20 20:35:15 +0000
commitec84bc86269648a737b586949790be115abfc681 (patch)
tree6022b828a505db4aca6a1c9e8748cca8cd30b52f /sys/dev
parenta8baf116a767c81cbc551daaefc47fb4e479139a (diff)
allow rx to work after tcpdump; ok art@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/an.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c
index 31ccd616684..77761e872d6 100644
--- a/sys/dev/ic/an.c
+++ b/sys/dev/ic/an.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: an.c,v 1.8 2000/06/20 19:39:36 todd Exp $ */
+/* $OpenBSD: an.c,v 1.9 2000/06/20 20:35:14 todd Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -930,8 +930,8 @@ an_ioctl(ifp, command, data)
!(ifp->if_flags & IFF_PROMISC) &&
sc->an_if_flags & IFF_PROMISC) {
an_promisc(sc, 0);
- } else
- an_init(sc);
+ }
+ an_init(sc);
} else {
if (ifp->if_flags & IFF_RUNNING)
an_stop(sc);