diff options
author | melifaro <melifaro@FreeBSD.org> | 2013-05-19 19:42:46 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2013-05-19 19:42:46 +0000 |
commit | 40bb6f2505f87a45c239a11997e89d5b593ac37d (patch) | |
tree | 73dc32a359376a4e7e0958a1f8766653c0d33b5e /sys/netinet6 | |
parent | 9f42266f8dbf5c8d3237c5ada516071f0efb1645 (diff) | |
download | FreeBSD-src-40bb6f2505f87a45c239a11997e89d5b593ac37d.zip FreeBSD-src-40bb6f2505f87a45c239a11997e89d5b593ac37d.tar.gz |
Really fix netmask address family this time.
MFC with: r250813
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index dc0f3f7..80359c1 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1140,7 +1140,6 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, ia->ia_ifa.ifa_addr = (struct sockaddr *)&ia->ia_addr; ia->ia_addr.sin6_family = AF_INET6; ia->ia_addr.sin6_len = sizeof(ia->ia_addr); - ia->ia_prefixmask.sin6_family = AF_INET6; ia->ia6_createtime = time_second; if ((ifp->if_flags & (IFF_POINTOPOINT | IFF_LOOPBACK)) != 0) { /* @@ -1187,6 +1186,7 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, goto unlink; } ia->ia_prefixmask = ifra->ifra_prefixmask; + ia->ia_prefixmask.sin6_family = AF_INET6; } /* |