From 9a0b948f98721fc815b505d1cd210e5509d35fdc Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Tue, 3 Jul 2012 06:56:11 +0000 Subject: [PATCH] Fix inverted test that resulted in incorrect multicast hw programming. --- sys/dev/cxgbe/t4_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index 987f9efda318..02d25da9704f 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -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);