ports/net/ntp/files/patch-ntpd_ntp_proto.c
Cy Schubert 43537eb9c3 net/ntp: Undo upstream (ntp.org) fix for upstream Bug 3851
The patch for upstream (ntp.org) fix for upstream Bug 3851 may have
fixed a Linux bug but it caused a regression when ntpd is run on
FreeBSD.

PR:             283116
MFH:            2024Q4
2024-12-23 14:45:04 -08:00

18 lines
448 B
C

--- ntpd/ntp_proto.c.orig 2024-05-07 04:21:28.000000000 -0700
+++ ntpd/ntp_proto.c 2024-12-23 14:40:06.218503000 -0800
@@ -471,6 +471,7 @@
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)
@@ -479,6 +480,7 @@
return;
}
}
+#endif
/*
* In unicast modes the dance is much more intricate. It is