diff options
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 7f06a18..5f51cef 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -830,6 +830,14 @@ in6_control(so, cmd, data, ifp, p) ia->ia6_lifetime.ia6t_preferred = 0; /* + * make sure to initialize ND6 information. this is to + * workaround issues with interfaces with IPv6 addresses, + * which have never brought # up. we are assuming that it is + * safe to nd6_ifattach multiple times. + */ + nd6_ifattach(ifp); + + /* * Perform DAD, if needed. * XXX It may be of use, if we can administratively * disable DAD. |