Fix from Matt for the problem described in PR # kern/2990: ``DEC FDDI
is a little *too* promiscuous'' Also a 2.2 candidate, again, after testing. Submitted by: Matt Thomas <matt@lkg.dec.com>
This commit is contained in:
parent
e57e7ec6e4
commit
0b723f48b8
@ -33,7 +33,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: if_ethersubr.c,v 1.5 1994/12/13 22:31:45 wollman Exp
|
||||
* $Id$
|
||||
* $Id: if_fddisubr.c,v 1.16 1997/02/22 09:41:01 peter Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -476,6 +476,11 @@ fddi_input(ifp, fh, m)
|
||||
else
|
||||
m->m_flags |= M_MCAST;
|
||||
ifp->if_imcasts++;
|
||||
} else if ((ifp->if_flags & IFF_PROMISC)
|
||||
&& bcmp(((struct arpcom *)ifp)->ac_enaddr, (caddr_t)fh->fddi_dhost,
|
||||
sizeof(fh->fddi_dhost)) != 0) {
|
||||
m_freem(m);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef M_LINK0
|
||||
|
Loading…
Reference in New Issue
Block a user