diff options
Diffstat (limited to 'sys/pci/if_sf.c')
-rw-r--r-- | sys/pci/if_sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c index ff01bf0c5a41..29f3fe316648 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. */ |