Finish r85740 : Make IPv6 netmask has address family set.

This pleases routing daemons like bird.

MFC after:	2 weeks
This commit is contained in:
Alexander V. Chernikov 2013-05-19 19:19:01 +00:00
parent ba6cafe265
commit 346e9c9de8

View File

@ -1140,6 +1140,7 @@ 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) {
/*