[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPv6, tentative addresses, bind(), wheezy

 ❦  4 novembre 2012 19:21 CET, Steve Langasek <vorlon@debian.org> :

>> > How does one find out about that?
>> % ip -6 addr show dev eth0 | grep "2001:db8::deb1:46.* tentative"
>>     inet6 2001:db8::deb1:46/64 scope global tentative
>> Once DAD completes, the "tentative" goes away.
>> Programatically, I think that's checking the return of
>> getifaddrs(3), ifa_flags, for IFA_F_TENTATIVE.
> Is there a way to get an event-based notification of this change, so
> ifupdown can listen for such an event rather than having to poll?

Trying with "ip monitor addr", it seems that the netlink notification is
sent once the tentative flags has been removed.
panic("Oh boy, that early out of memory?");
	2.2.16 /usr/src/linux/arch/mips/mm/init.c

Attachment: pgpt5rpWEsnUS.pgp
Description: PGP signature

Reply to: