aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/ntpd/ntp_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpd/ntp_proto.c')
-rw-r--r--contrib/ntp/ntpd/ntp_proto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c
index f9605b8feacb..2e0d221c8472 100644
--- a/contrib/ntp/ntpd/ntp_proto.c
+++ b/contrib/ntp/ntpd/ntp_proto.c
@@ -471,16 +471,14 @@ 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)
- || !nonlocal_v4_addr_up) {
+ || (IS_IPV4(&peer->srcadr) && !nonlocal_v4_addr_up)) {
unpeer(peer);
return;
}
}
-#endif
/*
* In unicast modes the dance is much more intricate. It is