]> git.pld-linux.org Git - packages/ntp.git/blame - ntp-4.2.6p1-tentative.patch
- drop upstart package (include in main pkg), add ntpdate upstart script
[packages/ntp.git] / ntp-4.2.6p1-tentative.patch
CommitLineData
0ffcfbfc
KK
1diff -up ntp-4.2.6p3/lib/isc/unix/interfaceiter.c.tentative ntp-4.2.6p3/lib/isc/unix/interfaceiter.c
2--- ntp-4.2.6p3/lib/isc/unix/interfaceiter.c.tentative 2010-12-25 10:40:35.000000000 +0100
3+++ ntp-4.2.6p3/lib/isc/unix/interfaceiter.c 2011-01-05 17:49:44.429413622 +0100
a8809dbd
ER
4@@ -45,6 +45,8 @@
5 #include <isc/types.h>
6 #include <isc/util.h>
7
8+#include <linux/rtnetlink.h>
9+
10 /* Must follow <isc/net.h>. */
11 #ifdef HAVE_NET_IF6_H
12 #include <net/if6.h>
0ffcfbfc
KK
13@@ -253,6 +255,10 @@ linux_if_inet6_current(isc_interfaceiter
14 iter->current.flags |= INTERFACE_F_MULTICAST;
15 #endif
16
a8809dbd 17+ /* ignore tentative address */
0ffcfbfc 18+ if (flags & IFA_F_TENTATIVE)
a8809dbd
ER
19+ iter->current.flags &= ~INTERFACE_F_UP;
20+
21 isc_netaddr_fromin6(&iter->current.address, &addr6);
0ffcfbfc 22 iter->current.ifindex = ifindex;
a8809dbd 23 if (isc_netaddr_islinklocal(&iter->current.address)) {
This page took 0.030546 seconds and 4 git commands to generate.