summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-06-24 17:34:33 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-06-24 17:34:33 +0000
commit7dae4c8320190b0f6d67cbbb3454f205509d79c4 (patch)
tree35eabbbfe13f376f8ea63e8a3465c5626482bc53 /usr.sbin
parentaf0d103480096a9fabff52eb022e819377359714 (diff)
recvmsg ENOENT noncritical too
Diffstat (limited to 'usr.sbin')
-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 93b0ff1758a..807ba8db849 100644
--- a/usr.sbin/ntpd/client.c
+++ b/usr.sbin/ntpd/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.87 2009/06/17 11:52:54 henning Exp $ */
+/* $OpenBSD: client.c,v 1.88 2009/06/24 17:34:32 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -223,7 +223,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime)
if (errno == EHOSTUNREACH || errno == EHOSTDOWN ||
errno == ENETUNREACH || errno == ENETDOWN ||
errno == ECONNREFUSED || errno == EADDRNOTAVAIL ||
- errno == ENOPROTOOPT) {
+ errno == ENOPROTOOPT || errno == ENOENT) {
client_log_error(p, "recvmsg", errno);
set_next(p, error_interval());
return (0);