summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/client.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2005-07-06 09:54:25 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2005-07-06 09:54:25 +0000
commit1f6f12f557bf2bcebb9179037691cb420db9809a (patch)
tree1839238ddc3e91dfdc9421d1c5d83e149b79ee33 /usr.sbin/ntpd/client.c
parentfa0bb594d90e4d31d61c81bcb98a03257c0c1301 (diff)
add another non-fatal error for recvfrom; ok henning@
Diffstat (limited to 'usr.sbin/ntpd/client.c')
-rw-r--r--usr.sbin/ntpd/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c
index 336099a1e2b..d392c665897 100644
--- a/usr.sbin/ntpd/client.c
+++ b/usr.sbin/ntpd/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.62 2005/07/05 10:09:12 dtucker Exp $ */
+/* $OpenBSD: client.c,v 1.63 2005/07/06 09:54:24 dtucker Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -188,7 +188,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime)
NULL, NULL)) == -1) {
if (errno == EHOSTUNREACH || errno == EHOSTDOWN ||
errno == ENETUNREACH || errno == ENETDOWN ||
- errno == ECONNREFUSED) {
+ errno == ECONNREFUSED || errno == EADDRNOTAVAIL) {
client_log_error(p, "recvfrom", errno);
set_next(p, error_interval());
return (0);