Fix a silly typo in user-setable promisc mode code.

Pointed out by:	Yann Berthier <yb@sainte-barbe.org>
MFC after:	1 day
This commit is contained in:
sobomax 2002-08-30 13:37:13 +00:00
parent 407969348e
commit 16e7564eee

View File

@ -678,7 +678,7 @@ ether_demux(ifp, eh, m)
&& (eh->ether_dhost[0] & 1) == 0
&& bcmp(eh->ether_dhost,
IFP2AC(ifp)->ac_enaddr, ETHER_ADDR_LEN) != 0
&& (ifp->if_flags && IFF_PPROMISC) == 0) {
&& (ifp->if_flags & IFF_PPROMISC) == 0) {
m_freem(m);
return;
}