libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / network / ntp / patches / 50-noserve.patch
blob2f72565c2cb6f0c647073097fd1234fe88459f23
1 https://bugs.ntp.org/show_bug.cgi?id=2367
3 --- ntpd/ntp_proto.c.orig
4 +++ ntpd/ntp_proto.c
5 @@ -718,7 +718,7 @@
6 process_control(rbufp, restrict_mask);
7 return;
9 - if (restrict_mask & RES_DONTSERVE) {
10 + if (hismode == MODE_CLIENT && (restrict_mask & RES_DONTSERVE)) {
11 DPRINTF(2, ("receive: drop: RES_DONTSERVE\n"));
12 sys_restricted++;
13 return; /* no time serve */