Really fix netmask address family this time.
MFC with: r250813
This commit is contained in:
parent
346e9c9de8
commit
6bdfdb2c5e
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user