diff options
author | 2006-02-03 06:38:11 +0000 | |
---|---|---|
committer | 2006-02-03 06:38:11 +0000 | |
commit | 7ee939308692d90ec4c08e2be74a665c0a42c6be (patch) | |
tree | 4815659dc289d360e01498b75b1b66eb2868a011 | |
parent | regen (diff) | |
download | wireguard-openbsd-7ee939308692d90ec4c08e2be74a665c0a42c6be.tar.xz wireguard-openbsd-7ee939308692d90ec4c08e2be74a665c0a42c6be.zip |
jump to the allmulti target in pcn_set_filter() if the IFF_ALLMULTI flag
is set.
-rw-r--r-- | sys/dev/pci/if_pcn.c | 4 |
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] = |