summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sf.c')
-rw-r--r--sys/pci/if_sf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index ff01bf0..29f3fe3 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -450,7 +450,7 @@ static void sf_setmulti(sc)
i = 1;
/* First find the tail of the list. */
LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
- if (ifma->ifma_link.le_next == NULL)
+ if (LIST_NEXT(ifma, ifma_link) == NULL)
break;
}
/* Now traverse the list backwards. */
OpenPOWER on IntegriCloud