diff options
Diffstat (limited to 'sys/pci/if_tl.c')
| -rw-r--r-- | sys/pci/if_tl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index b4c576bcb9aa..eaa3f058077d 100644 --- a/sys/pci/if_tl.c +++ b/sys/pci/if_tl.c @@ -954,7 +954,7 @@ static void tl_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. */ |
