aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ntp/ntpd/ntp_io.c4
-rw-r--r--contrib/ntp/ntpd/ntp_proto.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/contrib/ntp/ntpd/ntp_io.c b/contrib/ntp/ntpd/ntp_io.c
index 69fae606f5c7..9c4f6c1553e3 100644
--- a/contrib/ntp/ntpd/ntp_io.c
+++ b/contrib/ntp/ntpd/ntp_io.c
@@ -1486,9 +1486,7 @@ is_linklocal(
if (IS_IPV6(psau)) {
p6addr = &psau->sa6.sin6_addr;
- if ( IN6_IS_ADDR_LINKLOCAL(p6addr)
- || IN6_IS_ADDR_SITELOCAL(p6addr)) {
-
+ if (IN6_IS_ADDR_LINKLOCAL(p6addr)) {
return TRUE;
}
} else if (IS_IPV4(psau)) {
diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c
index 6b875145802f..2e0d221c8472 100644
--- a/contrib/ntp/ntpd/ntp_proto.c
+++ b/contrib/ntp/ntpd/ntp_proto.c
@@ -471,7 +471,6 @@ transmit(
return;
}
-#if 0
/* [Bug 3851] drop pool servers which can no longer be reached. */
if (MDF_PCLNT & peer->cast_flags) {
if ( (IS_IPV6(&peer->srcadr) && !nonlocal_v6_addr_up)
@@ -480,7 +479,6 @@ transmit(
return;
}
}
-#endif
/*
* In unicast modes the dance is much more intricate. It is