diff options
author | phk <phk@FreeBSD.org> | 2001-02-06 10:12:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-02-06 10:12:15 +0000 |
commit | d214ae21714540c7d954bd861ed084fb157abeb9 (patch) | |
tree | 7c665d67872a65310572d737c33defbe1a63008e /sys/dev/fe | |
parent | 43450ced687857ec4a35796cfed2820c891c103d (diff) | |
download | FreeBSD-src-d214ae21714540c7d954bd861ed084fb157abeb9.zip FreeBSD-src-d214ae21714540c7d954bd861ed084fb157abeb9.tar.gz |
Convert if_multiaddrs from LIST to TAILQ so that it can be traversed
backwards in the three drivers which want to do that.
Reviewed by: mikeh
Diffstat (limited to 'sys/dev/fe')
-rw-r--r-- | sys/dev/fe/if_fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index a670a90..c11cbc6 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -2120,7 +2120,7 @@ fe_mcaf ( struct fe_softc *sc ) struct ifmultiaddr *ifma; filter = fe_filter_nothing; - LIST_FOREACH(ifma, &sc->arpcom.ac_if.if_multiaddrs, ifma_link) { + TAILQ_FOREACH(ifma, &sc->arpcom.ac_if.if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; index = fe_hash(LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); |