Enable adding a link-local address even if ND6_IFF_IFDISABLED.
Note that when the interface has ND6_IFF_IFDISABLED, a newly-added address is always marked as IN6_IFF_TENTATIVE so that the interface can perform DAD after the ND6_IFF_IFDISABLED is cleared.
This commit is contained in:
parent
b5a70c98b2
commit
d7caaef2e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197703
@ -751,7 +751,6 @@ in6_ifattach(struct ifnet *ifp, struct ifnet *altifp)
|
||||
* assign a link-local address, if there's none.
|
||||
*/
|
||||
if (ifp->if_type != IFT_BRIDGE &&
|
||||
!(ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) &&
|
||||
ND_IFINFO(ifp)->flags & ND6_IFF_AUTO_LINKLOCAL) {
|
||||
int error;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user