summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r--sys/pci/if_tl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index b4c576b..eaa3f058 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. */
OpenPOWER on IntegriCloud