summaryrefslogtreecommitdiffstats
path: root/sys/net/if_stf.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-20 22:41:19 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-20 22:41:19 +0000
commitd15e84d3bfe371246256c1de3c38a1fa5ff88bc0 (patch)
tree6c899523d0eca9ea0ef6ef6a3d2f6703b5a21be9 /sys/net/if_stf.c
parentc869a90c838f8c1b19ebe7edd33ad2e3425bc94a (diff)
downloadFreeBSD-src-d15e84d3bfe371246256c1de3c38a1fa5ff88bc0.zip
FreeBSD-src-d15e84d3bfe371246256c1de3c38a1fa5ff88bc0.tar.gz
Prefer ifa_link (structure field) to ifa_list (macro alias for it).
MFC after: 2 weeks
Diffstat (limited to 'sys/net/if_stf.c')
-rw-r--r--sys/net/if_stf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c
index 46757c9..1c2c649 100644
--- a/sys/net/if_stf.c
+++ b/sys/net/if_stf.c
@@ -383,7 +383,7 @@ stf_getsrcifa6(ifp)
struct in_addr in;
IF_ADDR_LOCK(ifp);
- TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_list) {
+ TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_link) {
if (ia->ifa_addr->sa_family != AF_INET6)
continue;
sin6 = (struct sockaddr_in6 *)ia->ifa_addr;
OpenPOWER on IntegriCloud