aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/snc
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-02-06 10:12:15 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-02-06 10:12:15 +0000
commit6817526d14cbd2812ff570e7a0b8b5905ab98b1b (patch)
tree625adfe0fc45dc854cabadf252ed23af4a4d1fad /sys/dev/snc
parent2cdd9c0332ec8dea64ef2429b1722945f2df5128 (diff)
downloadsrc-6817526d14cbd2812ff570e7a0b8b5905ab98b1b.tar.gz
src-6817526d14cbd2812ff570e7a0b8b5905ab98b1b.zip
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
Notes
Notes: svn path=/head/; revision=72084
Diffstat (limited to 'sys/dev/snc')
-rw-r--r--sys/dev/snc/dp83932.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c
index 496cc3a5f6d5..70da6498b1fc 100644
--- a/sys/dev/snc/dp83932.c
+++ b/sys/dev/snc/dp83932.c
@@ -678,7 +678,7 @@ camprogram(sc)
ifp->if_flags &= ~IFF_ALLMULTI;
/* Loop through multicast addresses */
- LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
+ TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
if (mcount == MAXCAM) {