summaryrefslogtreecommitdiffstats
path: root/sys/dev/ale/if_ale.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ale/if_ale.c')
-rw-r--r--sys/dev/ale/if_ale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c
index 65e068f..305eda4 100644
--- a/sys/dev/ale/if_ale.c
+++ b/sys/dev/ale/if_ale.c
@@ -3060,7 +3060,7 @@ ale_rxfilter(struct ale_softc *sc)
TAILQ_FOREACH(ifma, &sc->ale_ifp->if_multiaddrs, ifma_link) {
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
- crc = ether_crc32_le(LLADDR((struct sockaddr_dl *)
+ crc = ether_crc32_be(LLADDR((struct sockaddr_dl *)
ifma->ifma_addr), ETHER_ADDR_LEN);
mchash[crc >> 31] |= 1 << ((crc >> 26) & 0x1f);
}
OpenPOWER on IntegriCloud