diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-20 22:41:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-20 22:41:19 +0000 |
commit | d15e84d3bfe371246256c1de3c38a1fa5ff88bc0 (patch) | |
tree | 6c899523d0eca9ea0ef6ef6a3d2f6703b5a21be9 /sys/net/if_stf.c | |
parent | c869a90c838f8c1b19ebe7edd33ad2e3425bc94a (diff) | |
download | FreeBSD-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.c | 2 |
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; |