Finish r85740 : Make IPv6 netmask has address family set.
This pleases routing daemons like bird. MFC after: 2 weeks
This commit is contained in:
parent
ba6cafe265
commit
346e9c9de8
@ -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) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user