summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-03 06:38:12 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-03 06:38:12 +0000
commit6abb71dc7e154383ebf7e3930854e3d3119b9e00 (patch)
tree4c63023e665a9350ff700277863beb252ce8de6a /sys
parent48b7f744754cbfeafdf8e255daba070d12760f7f (diff)
jump to the allmulti target in pcn_set_filter() if the IFF_ALLMULTI flag
is set.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_pcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_pcn.c b/sys/dev/pci/if_pcn.c
index 32487a22a83..91044ee1448 100644
--- a/sys/dev/pci/if_pcn.c
+++ b/sys/dev/pci/if_pcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pcn.c,v 1.4 2005/12/16 03:19:07 brad Exp $ */
+/* $OpenBSD: if_pcn.c,v 1.5 2006/02/03 06:38:11 brad Exp $ */
/* $NetBSD: if_pcn.c,v 1.26 2005/05/07 09:15:44 is Exp $ */
/*
@@ -1867,7 +1867,7 @@ pcn_set_filter(struct pcn_softc *sc)
* of the bits select the bit within the word.
*/
- if (ifp->if_flags & IFF_PROMISC)
+ if (ifp->if_flags & IFF_ALLMULTI || ifp->if_flags & IFF_PROMISC)
goto allmulti;
sc->sc_initblock.init_ladrf[0] =