summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-07-22 03:54:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-07-22 03:54:16 +0000
commitdd68638446d8a387ba34e11643904b88eeb9ce3b (patch)
tree856492eff87c26307c55f2d8e31a90b9c673b7ae /sys/dev
parented072ac0ffa5ca474cdaccb340e83268bb44b846 (diff)
clear the IFF_ALLMULTI flag when the interface goes down.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_tht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index 2b8a77abc94..63688a4fb6a 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.107 2007/07/22 03:53:06 dlg Exp $ */
+/* $OpenBSD: if_tht.c,v 1.108 2007/07/22 03:54:15 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -1084,7 +1084,7 @@ tht_down(struct tht_softc *sc)
return;
}
- ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
+ ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE | IFF_ALLMULTI);
while (tht_fifo_writable(sc, &sc->sc_txt) < sc->sc_txt.tf_len &&
tht_fifo_readable(sc, &sc->sc_txf) > 0)