Fix inverted test that resulted in incorrect multicast hw programming.
This commit is contained in:
parent
e324b4bc3d
commit
9a0b948f98
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user