diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 16:08:18 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 16:08:18 +0000 |
| commit | 37d400662666a604243e587c70d492fe357d150a (patch) | |
| tree | f9bc9c6c4944d30981cf39fb66f61ea34fb86795 /sys/dev/ie | |
| parent | bcf77694d13313045a6a78477507a30ebd653894 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ie')
| -rw-r--r-- | sys/dev/ie/if_ie.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 3f7033d6f270..ccc1f54cdca5 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -2150,8 +2150,7 @@ ie_mc_reset(int unit) * Step through the list of addresses. */ ie->mcast_count = 0; - for (ifma = LIST_FIRST(&ie->arpcom.ac_if.if_multiaddrs); ifma; - ifma = LIST_NEXT(ifma, ifma_link)) { + LIST_FOREACH(ifma, &ie->arpcom.ac_if.if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; |
