Fix inverted test that resulted in incorrect multicast hw programming.
This commit is contained in:
parent
e324b4bc3d
commit
9a0b948f98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238054
@ -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