From 6bdfdb2c5e31f8cc59b92cb84688a21022011086 Mon Sep 17 00:00:00 2001 From: "Alexander V. Chernikov" Date: Sun, 19 May 2013 19:42:46 +0000 Subject: [PATCH] Really fix netmask address family this time. MFC with: r250813 --- sys/netinet6/in6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index dc0f3f7bfc37..80359c1f248f 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; } /*