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:
Maxim Sobolev 2002-08-30 13:37:13 +00:00
parent 949f39b532
commit 25faf49d12

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;
}