summaryrefslogtreecommitdiff
path: root/net/ntp/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2025-02-18 19:33:23 -0800
committerCy Schubert <cy@FreeBSD.org>2025-02-18 19:55:36 -0800
commit453bd9639bae31c05fa0eda782af0926a12a8b42 (patch)
treec1b16c52ee5f5f0d6ffb42080f15e71c90f2152b /net/ntp/files
parentshells/44bsd-csh: Chase b0d746aba6a1, remove USES=sbrk (diff)
net/ntp: ntpd does not connect to NTP server with link local IPv6 address
Upstream bug 3943 (https://bugs.ntp.org/show_bug.cgi?id=3943) discusses: Starting with 4.2.8p18 ntp does not synchronize or even connect to the configured NTP server any more. ntp stays in .INIT. state indefinitely and checking the network traffic shows that ntp does not attempt to contact the NTP server. This is regression introduced by the fix for upstream bug 3913. This is a similar bug I reported upstream (ntp bug 3841). Obtained from: src 381956e26756 MFH: 2025Q1
Diffstat (limited to 'net/ntp/files')
-rw-r--r--net/ntp/files/patch-ntpd_ntp__io.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntp/files/patch-ntpd_ntp__io.c b/net/ntp/files/patch-ntpd_ntp__io.c
new file mode 100644
index 000000000000..b2bbf0fee058
--- /dev/null
+++ b/net/ntp/files/patch-ntpd_ntp__io.c
@@ -0,0 +1,11 @@
+--- ntpd/ntp_io.c.orig 2024-05-07 04:21:17.000000000 -0700
++++ ntpd/ntp_io.c 2025-02-18 19:31:18.434141000 -0800
+@@ -3205,7 +3205,7 @@
+ }
+
+ do {
+- if (INT_LL_OF_GLOB & src->flags) {
++ if (ismcast && INT_LL_OF_GLOB & src->flags) {
+ /* avoid duplicate multicasts on same IPv6 net */
+ goto loop;
+ }