|
|
|
@ -1,20 +1,22 @@
|
|
|
|
|
Index: ntpd/ntp_io.c
|
|
|
|
|
--- ntpd/ntp_io.c.orig 2009-12-09 08:36:37 +0100
|
|
|
|
|
+++ ntpd/ntp_io.c 2009-12-17 09:15:19 +0100
|
|
|
|
|
@@ -64,6 +64,12 @@
|
|
|
|
|
+++ ntpd/ntp_io.c 2010-01-05 23:39:27 +0100
|
|
|
|
|
@@ -64,6 +64,14 @@
|
|
|
|
|
#define SETSOCKOPT_ARG_CAST
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+#ifdef INCLUDE_IPV6_SUPPORT
|
|
|
|
|
+#include <netinet/in.h>
|
|
|
|
|
+#ifdef __FreeBSD__
|
|
|
|
|
+#include <net/if_var.h>
|
|
|
|
|
+#include <netinet/in_var.h>
|
|
|
|
|
+#endif
|
|
|
|
|
+#endif /* !INCLUDE_IPV6_SUPPORT */
|
|
|
|
|
+
|
|
|
|
|
extern int listen_to_virtual_ips;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@@ -1470,6 +1476,36 @@
|
|
|
|
|
@@ -1470,6 +1478,36 @@
|
|
|
|
|
}
|
|
|
|
|
#endif /* OS_NEEDS_REUSEADDR_FOR_IFADDRBIND */
|
|
|
|
|
|
|
|
|
@ -51,7 +53,7 @@ Index: ntpd/ntp_io.c
|
|
|
|
|
/*
|
|
|
|
|
* update_interface strategy
|
|
|
|
|
*
|
|
|
|
|
@@ -1592,6 +1628,11 @@
|
|
|
|
|
@@ -1592,6 +1630,11 @@
|
|
|
|
|
if (is_wildcard_addr(&interface.sin))
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|