1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix inverted test that resulted in incorrect multicast hw programming.

This commit is contained in:
Navdeep Parhar 2012-07-03 06:56:11 +00:00
parent e324b4bc3d
commit 9a0b948f98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238054

View File

@ -2143,7 +2143,7 @@ update_mac_settings(struct port_info *pi, int flags)
if_maddr_rlock(ifp);
TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
if (ifma->ifma_addr->sa_family == AF_LINK)
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
mcaddr[i++] =
LLADDR((struct sockaddr_dl *)ifma->ifma_addr);