Fix multicast filtering.

Submitted by:	Takanori Sawada
PR:		arm/187179
This commit is contained in:
Hiroki Sato 2014-03-04 06:55:54 +00:00
parent 596031c052
commit cd29d6dd3b

View File

@ -961,7 +961,7 @@ ffec_setup_rxfilter(struct ffec_softc *sc)
continue;
crc = ether_crc32_be(LLADDR((struct sockaddr_dl *)
ifma->ifma_addr), ETHER_ADDR_LEN);
ghash |= 1 << (crc & 0x3f);
ghash |= 1LLU << (crc & 0x3f);
}
if_maddr_runlock(ifp);
}