dhcpcd-discuss

Re: DHCPv6 IA_PD, vendorclassid and waitip issues

Roy Marples

Sun Jan 19 22:37:29 2014

On 19/01/2014 10:28, Roy Marples wrote:
I know why it happens.
Coming up, the interface will be assigned a Local Link address with
have the TENTATIVE state until the kernel has worked out it can be
used safely.
If this flag is set, the address itself cannot be used, which is the
error you are seeing.
Sadly, Linux lacks an ioctl to get the address flags while enumerating
them. If you used a BSD you would not see this error (but you would
see others, heh).

This is fixable I think though, we can send a RTM_GETADDR netlink
message and see what we get back.

Fixed here:
http://roy.marples.name/projects/dhcpcd/ci/12934660bc?sbs=0

Can you test it please?

Thanks

Roy

Follow-Ups:
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesMike Kazantsev
References:
DHCPv6 IA_PD, vendorclassid and waitip issuesMike Kazantsev
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesRoy Marples
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesMike Kazantsev
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesMike Kazantsev
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesRoy Marples
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesMike Kazantsev
Re: DHCPv6 IA_PD, vendorclassid and waitip issuesRoy Marples
Archive administrator: postmaster@marples.name