--- ntp-4.2.4p2/libisc/ifiter_ioctl.c.tentative 2006-12-28 13:03:07.000000000 +0100
+++ ntp-4.2.4p2/libisc/ifiter_ioctl.c 2007-07-16 13:04:15.000000000 +0200
@@ -94,6 +94,7 @@ struct isc_interfaceiter {
#include <sys/socket.h>
#endif
+#include <linux/rtnetlink.h>
/*
* Size of buffer for SIOCGLIFCONF, in bytes. We assume no sane system
@@ -516,6 +517,9 @@ linux_if_inet6_current(isc_interfaceiter
if ((ifreq.ifr_flags & IFF_MULTICAST) != 0)
iter->current.flags |= INTERFACE_F_MULTICAST;
#endif
+ /* ignore tentative address */
+ if (flags & IFA_F_TENTATIVE)
+ iter->current.flags &= ~INTERFACE_F_UP;
/*
* enable_multicast_if() requires scopeid for setsockopt,