diff options
author | phk <phk@FreeBSD.org> | 2001-02-04 13:13:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-02-04 13:13:25 +0000 |
commit | e87f7a15ad62e1dd25061ddb301662e809692c2c (patch) | |
tree | 5f0ba9ebd57fbfd6e13f2b9403d96e9bfae48d8f /sys/dev/ie | |
parent | f3b4fbe35f6e8e9d09f742c114281d8e9984d135 (diff) | |
download | FreeBSD-src-e87f7a15ad62e1dd25061ddb301662e809692c2c.zip FreeBSD-src-e87f7a15ad62e1dd25061ddb301662e809692c2c.tar.gz |
Mechanical change to use <sys/queue.h> macro API instead of
fondling implementation details.
Created with: sed(1)
Reviewed by: md5(1)
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index ebebabb..3f7033d 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -2150,8 +2150,8 @@ ie_mc_reset(int unit) * Step through the list of addresses. */ ie->mcast_count = 0; - for (ifma = ie->arpcom.ac_if.if_multiaddrs.lh_first; ifma; - ifma = ifma->ifma_link.le_next) { + for (ifma = LIST_FIRST(&ie->arpcom.ac_if.if_multiaddrs); ifma; + ifma = LIST_NEXT(ifma, ifma_link)) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; |