Browse Source

ntpd is too aggressive about retrying constraint connections. This

became more visible recently because a log_debug was changed to
log_warnx.  Change it back for now.
ok jsing
OPENBSD_6_0
deraadt 8 years ago
parent
commit
4bee7f5ac6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/constraint.c

+ 2
- 2
src/usr.sbin/ntpd/constraint.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: constraint.c,v 1.28 2016/05/21 13:46:10 jsing Exp $ */
/* $OpenBSD: constraint.c,v 1.29 2016/06/01 16:35:58 deraadt Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@ -866,7 +866,7 @@ httpsdate_request(struct httpsdate *httpsdate, struct timeval *when)
if (tls_connect_servername(httpsdate->tls_ctx, httpsdate->tls_addr,
httpsdate->tls_port, httpsdate->tls_hostname) == -1) {
log_warnx("tls connect failed: %s (%s): %s",
log_debug("tls connect failed: %s (%s): %s",
httpsdate->tls_addr, httpsdate->tls_hostname,
tls_error(httpsdate->tls_ctx));
goto fail;


Loading…
Cancel
Save