]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ChangeLog, freebsd, ntp_request.c:
authorHarlan Stenn <stenn@ntp.org>
Fri, 17 Mar 2000 03:41:23 +0000 (03:41 -0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 17 Mar 2000 03:41:23 +0000 (03:41 -0000)
  * ntpd/ntp_request.c (dns_a): crypto_public() is only available if
  PUBKEY is #defined.

bk: 38d1a963zpHzjtHrkqarR_Up9WDtIA

ChangeLog
html/hints/freebsd [new file with mode: 0644]
ntpd/ntp_request.c

index 2bedb09a465a714edaa3b9b567aa0f01114f45f8..e1bd360120ed480e6156cd877cb835b1a3cee2eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
        name and the peer pointer.
+       (dns_a): crypto_public() is only available if PUBKEY is #defined.
 
        * ntpd/ntp_crypto.c (crypto_public): sprintf is Evil.  Use snprintf.
        (crypto_setup): Ditto
diff --git a/html/hints/freebsd b/html/hints/freebsd
new file mode 100644 (file)
index 0000000..ef84732
--- /dev/null
@@ -0,0 +1,15 @@
+If you are compiling under FreeBSD and see messages in the syslogs that
+indicate that the ntpd process is trying to use unavailable sched_
+calls, it means you are running a kernel that does not have the POSIX
+scheduling calls enabled.
+
+You have two choices:
+
+- Ignore the messages
+
+- Generate a new kernel, where the kernel configuration file contains
+  the lines:
+
+  options              "P1003_1B"
+  options              "_KPOSIX_PRIORITY_SCHEDULING"
+  options              "_KPOSIX_VERSION=199309L"
index cefefe67199a5fccace967bcb04889cffaa9fc5a..51e7fcf3aeec82f4041dfdde4f3c9b3a1a278666 100644 (file)
@@ -1301,7 +1301,9 @@ dns_a(
                        req_ack(srcadr, inter, inpkt, INFO_ERR_NODATA);
                        return;
                } else {
+#ifdef PUBKEY
                        crypto_public(peer, dp->hostname);
+#endif /* PUBKEY */
                }
                
                dp++;