From 6abb71dc7e154383ebf7e3930854e3d3119b9e00 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 3 Feb 2006 06:38:12 +0000 Subject: jump to the allmulti target in pcn_set_filter() if the IFF_ALLMULTI flag is set. --- sys/dev/pci/if_pcn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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] = -- cgit v1.2.3